1
14kviews
Identify the addressing mode of following instructions & explain their meaning.
  1. MOV AX,1000
  2. MOV AX,[1000]
  3. MOV AX,BX
  4. MOV[BX],AX
  5. MOV AX,[SI + 200]
1 Answer
2
1.6kviews

1. MOV AX,1000

  • It uses immediate addressing mode.

  • The value 1000 immediately copied in AX.

2. MOV AX,[1000]

  • It uses direct addressing mode.

  • The data bytes from memory location [1001]:[1000] will be copied in (AH):(AL) registers.

3. MOV AX,BX

  • It uses register addressing mode.

  • The 16 bit data word from register (BX) will be copied into (AX)

4. MOV[BX],AX

  • It uses register indirect addressing.

  • The 16 bit data word from register (AX) will be copied in successive two memory locations which are indirectly addressed by

[BX] $\leftarrow$(AL)

[BX + 1 ] $\leftarrow$ (AH)

5. MOV AX,[SI + 200]

  • It uses register relative addressing.

  • It copies 16 bit data word from successive two memory locations into AX as follow

(AL) $\leftarrow$ [SI + 200]

(AH) $\leftarrow$ [SI + 200 ] + 1

Please log in to add an answer.