Search for question
Question

For questions 2-3, provide the full MARIE RTN for these new MARIE instructions. Include the

fetch, decode, get operand (if necessary) and execution stages (which may include writing back to

memory). X in question 3 is an immediate datum (a numeric value) and X in question 3 is the

address of a datum that needs to be fetched from memory. For question 2, we have an extra register

called R1 which was previously loaded with a value (in this case, a base address).

2. LoadBD X - this is a load using base-displacement addressing. The address of the datum

to be loaded is the sum of the value given in the instruction itself and the value in the special

register R1. This sum is then the address used to fetch a datum from memory. The datum

is then stored in the AC. Assume the ALU can directly access R1 but not the MAR so move

the value X (IR[11-0] directly into the MBR before adding).

Fig: 1