Answer to Question #163479 in Assembler for passout

Question #163479

Discuss the addressing modes of following instructions

A. STA 2001H

B. LHLD 3000H

C. RAR

D. MVI B,31H


1
Expert's answer
2021-02-15T00:02:44-0500

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


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS