Assembly-Guidebook

MOV Instruction

Copies second operand(source) to first operand(destination). MOV AX,5 Here, 5 is copied to AX.

image

MOV supprts these operands

  1. MOV REG, MEMORY
  2. MOV MEMORY, REG
  3. MOV REG, REG
  4. MOV MEMORY, IMMEDIATE
  5. MOV REG, IMMEDIATE

Memory: [AX], [BX], [BX+SI+5] etc. Immediate: 5, 10, 1001b, 3Fh etc

For Segment Registers