Advanced | Help | Encyclopedia
Directory


X86-mov

In the X86 assembly language, the MOV instruction moves data from Y to X when coded as

MOV X, Y

Either X or Y can include addressing information.

The arguments for the MOV commands can be either a register, segment register or a memory address. since the command is executed in a single CPU work cycle, not all combinations of arguments are possible. possible combinations:

move the content of the register bx into the register ax

MOV ax, bx

move the content of the register ax into the memory block with the specified address

MOV [address], ax

A combination which is not possible, is a move from memory to memory, for example :

MOV [address1], [address2]

to achieve this, another MOV must be used:

MOV ax, [address2]
MOV [address1], ax









Links: Addme | Keyword Research | Paid Inclusion | Femail | Software | Completive Intelligence

Add URL | About Slider | FREE Slider Toolbar - Simply Amazing
Copyright © 2000-2008 Slider.com. All rights reserved.
Content is distributed under the GNU Free Documentation License.