3,767 views
6 votes
6 votes
A two- word instruction is stored in a location A. The operand part of instruction holds B. If the addressing mode is relative , the operand is available in location :

A. A+B+2

B.A+B+1

C.B+1

D.A+B

 

Explain with diagram.

1 Answer

Best answer
1 votes
1 votes
Since the addressing mode is relative therefore EA=A+PC where A is the address of current instruction being executed therefore during  execution of instruction A the pc contains A+2 as it is a 2 word instruction as soon as it gets location B then operand will available at A+B+2
selected by

Related questions

0 votes
0 votes
2 answers
3
lea asked Jun 12, 2023
317 views