The different methods (modes) to select (address) the OPERANDS are called the ADDRESSING MODES.
For 8085,they are:-
※ IMMEDIATE ADDRESSING MODE
※ REGISTER ADDRESSING MODE
※ INDIRECT ADDRESSING MODE
※ IMPLIED ADDRESSING MODE
※ DIRECT ADDRESSING MODE
◎ IMMEDIATE ADDRESSING MODE
● In immediate addressing mode the data (8 / 16 bit) is specified in the instruction itself.
● The immediate addressing instructions are either 2 byte or 3 byte long.
● In 2 byte instruction first byte is OPCODE and second byte is the 8 bit data.
● In 3 byte instructions first byte is OPCODE , second and third bytes are the 16 bit data.
● The instructions containing the letter "I" indicate immediate addressing mode.
INSTUCTION
| OPCODE | OPERAND |
|---|
i) MVI A,34 H:→This instruction transfers immediate data ( 34 H) to A register.
ii) LXI H,C200H:→This instruction transfers 16 bit immediate data C200 to HL regisrer pair. Lower order data ( 00 H) to L register and high order data ( C2 H ) to H register
0 Comments
If you have any doubt,please let me know.