128k views
1 vote
Consider a computer that has a number of registers such that the three registers R0 = 1500, R1 =4500, and R2 = 1000.

Show the effective address of memory and the registers’ contents in each of the following
instructions (assume that all numbers are decimal).
(a) ADD (R0)+, R2
(b) SUBTRACT - (R1), R2
(c) MOVE 500(R0), R2
(d) LOAD #5000, R2
(e) STORE R0, 100(R2)

User Nacht
by
7.8k points

1 Answer

6 votes
(C) move 500 (Ro),r2
User Alqin
by
8.4k points