Question: Below is the syntax and the encoding. The instruction below computes (t1+t2) and stores the result in register t0 and also in the memory at
Below is the syntax and the encoding. The instruction below computes (t1+t2) and stores the result in register t0 and also in the memory at address zero. The addz instruction always uses address zero in the memory.
addz $t0, $t1, $t2
| Unique | T1 | T2 | T0 | 0 | 0 |
Opcode rs rt rd shamt funct
a) Give the functional form of the instruction based on the register names.
b) Give the functional form based on the instruction fields.
c) Draw the changes on the datapath diagram.
d) Give the values of the control signals.
The image below is a screenshot of the question.


Repeat the question above for the add to zero' instruction (addz). Below is the symtax and the encoding. The instruction below computes (t1+t2) and stores the result in register to and also in the memory at address zero. The addz' instruction always uses address zero in the memory. addz Sto, $t1, $t2 opcode rd Shamt funct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
