Discuss the addressing modes of following instructions
A. STA 2001H
B. LHLD 3000H
C. RAR
D. MVI B,31H
STA 2001h copying data from accumulator to memory location 2001H,
This instruction uses absolute addressing for specifying the destination
LHLD 3000H the content of location 3000h is copied into the HL reg pair
This instruction uses absolute addressing mode for specifying the data in the instruction.
RAR rotate accumulator rite through carry. The operand is in the accumulator register
Register Addressing.
MVI B,31h move immediate date 31h to a register
This instruction supports immediate addressing mode for specifying the data in the instruction
Comments
Leave a comment