• retagged by
509 views
4 4 votes
Registers $R4$ contains the decimal number $2000$. If the addressing mode used is $12$($R4$) (Base plus Displacement addressing mode), what is the Effective Address ($EA$)?

2 Answers

3 3 votes

The Base plus Displacement addressing mode works like this:

$$
EA=\text { Displacement }+[\text { BaseRegister }]
$$

  • Displacement $=12$
  • Base Register $R4$ $=2000$

So,

$$
EA=12+2000=2012
$$


Final Answer: $2012$

 

 

Screenshot from Carl Hamacher

• reshown by
Answer:
Position:
Show:

Related questions

3 3 votes
2 2 answers
496
496 views
GO Classes asked Jul 4, 2025
496 views
Registers $R$$4$ and $R5$ contain the decimal numbers $2000$ and $3000$, respectively. If the addressing mode used is $\mathbf{2 8 ( R 4 , ~ R 5 )}$, what is the Effectiv...
5 5 votes
2 2 answers
544
544 views
GO Classes asked Jul 4, 2025
544 views
Consider the following statements about pipeline hazards in a typical 5 -stage instruction pipeline (IF, ID, EX, MEM, WB):Data hazards can sometimes be resolved using for...
5 5 votes
5 5 answers
575
575 views
GO Classes asked Jul 4, 2025
575 views
If the Most Significant Byte (MSB) is stored first while ordering byte values for storing data in memory, it is called asBig-endian Little-endian Big- and Little-endian N...
6 6 votes
4 4 answers
485
485 views
GO Classes asked Jul 4, 2025
485 views
Fixed instruction length is a feature of one of the following architecture.CISCRISCX $86$None of the above