Q. Define Immediate Addressing Mode with example?
Immediate Addressing Mode
An immediate operand can be a constant expression like a character, a number or an arithmetic expression. Only constraint is that the assembler should be able to conclude the value of an immediate operand at assembly time. This value is directly inserted in the machine instruction.
MOV AL,05
Mode
|
Description
|
Example
|
Immediate
|
Please note in the last examples the expression (2 + 3)/5, is evaluated at assembly time.
|
MOV AL,10
MOV AL,'A'
MOV AX,'AB'
MOV AX, 64000
MOV AL, (2 + 3)/5
|