HomeComputer programmingAssembly: mov Statement (MASM/TASM)

Assembly: mov Statement (MASM/TASM)

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)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!