Assembly: mov Statement (MASM/TASM)

Posted March 5, 2006 by William_Wilson in Computer programming

mov is a useful tool in Assembly language. It can move constants or dynamics such as offsets. This tech recipe describes how to use it.

mov takes two parameters. The first is the receiver, and the second is the operand.

Example:
mov AX, 5 ;This places the value 5 into AX register.

mov BX, OFFSET array ;This would put the offset of the variable array into BX.

Questions/Comments: [email protected]
-William. ยง (marvin_gohan)

The Conversation

Follow the reactions below and share your own thoughts.