answersLogoWhite

0

What type of data does MOV store?

Updated: 12/15/2022
User Avatar

Wiki User

11y ago

Best Answer

In x86, a MOV instruction can store bytes (8-bit quantities), words (16-bit quantities), and double-words (32-bit quantities). In AT&T syntax, the type of data being stored is determined by a suffix at the end of the instruction:

movb - move byte

movw - move word

movl - move double-word (also called a long)

In Intel syntax - which doesn't use these suffixes - the data type is determined from context by looking at the names of the registers specified in the operands. A MOV instruction referring to %eax, for example, would store a double-word (since %eax is a 32-bit register).

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What type of data does MOV store?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the function of data transfer instructions?

mov


Can Mov used in 8085 for immediate data transfer?

No, not at all this instruction MOV can not be used for immediate data transfer. You will need to use command MVI Rd, 8 Bit Data for immediate data transfer.


Write a 8086 ALP that copies a string to another location in the memory?

Data Segment string 1 db 'This is source $' string2 db 15 dup() Data Ends Assume cs:code, ds:data org 100h Code segment Mov AX, data Mov DS, AX Mov si, offset string1 Mov di, offset string2 Mov CX, 0015 MOVSB Mov AX, 004ch Int 21h Code Ends End


Which data type can store any data?

There is no such data type. However, when we use user-defined data types of our own type, then that type of data can be stored in a variable. So as a term, you may say that user-defined data type can store any data. As the data-type used in any variable will be depending upon us.


Average of 5 numbers in assembly?

.model small .stack 100 .data line1 db 03,12,15,14,01 avg db ? .code mov ax,@data mov ds,ax lea si,line1 mov cx,0005h mov al,00+1 l1:add al,[si] inc si loop l1 mov ah,00h mov bh,05h div bh mov [si],al mov ah,4ch int 21h end


Which data type will you use to store names of 100 students?

char data type


What is the 8086 program to find the sum of n numbers?

8096


What is the ful form of mov?

The full form of MOV is "Move." In programming, MOV is an instruction that moves data from one location to another within the computer's memory or between different components of the computer.


What type of storage can store similar type of data?

array


Find given numbers odd or even in 8085 microprocessor assembly language?

.model small .stack .data m db 'the no is odd $' m1 db 'the no is even $' a db 04h b db 02h .code mov ax,@data mov ds,ax mov ah,0 mov al,a mov bl,b div bl cmp ah,00h je l1 mov dx,offset m jmp l l1: mov dx,offset m1 jmp l l: mov ah,09 int 21h mov ah,4ch int 21h end


Abstract data type that store a whole numbers?

All data types can be used to store a whole number, even the data types that can store a decimal number.


What defines a data type?

the type of data which we store in a variable.. example: int a=10; /*here a is variable (data) which is of type int and stores a value 10.*/