Answers for "assembly mov instruction"

1

assembly mov instruction

assembly mov instruction

basicly it is used to move data around maybe from the memory (RAM) 
to your processor or the other way from the processor to the RAM
you should learn about what (registers) are and how RAM works but
basicly RAM is splitted into huge small rooms with each one can store 
1 byte (8 bits) of data and each room have an address or lets say
special index number for it 
for simple explaining this is how ti works 

mov {destination} , {source} ; destination can be register or memory address
;source can be register / memory address / immediate value

also the size of the {destination} must be the same as the {source}
so if your {destination} is 4 bytes the {source} must be also 4 bytes!
Posted by: Guest on October-19-2021
0

mov command assembly

mov eax, 4 ; system write
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language