Describe the difference between the instruction MOV AX , 2437H and MOV AX, [2437]

Subject Microprocessor and Assembly Language
NU Year Set: 3.(c) Marks: 5 Year: 2009

MOV AX, 2437H: Is immediate addressing mode in which the data operand is a part of the instruction itself. And so, it Moves the 16 bit number 2437H into accumulator.

 

MOV AX, [2437H]: It is a Direct addressing mode which the effective address of the memory location is written directly in the instruction. And it moves the 16 hit numbers present in the memory location whose address is represented by the offset 2437H. 

Login to post your comment.