Question: 4. (18 points) The single-cycle implementation of the processor is as shown in Figure 4.24 on the textbook. We want to execute the following
4. (18 points) The single-cycle implementation of the processor is as shown in Figure 4.24 on the textbook. We want to execute the following instruction. 1000: BEQ $R7, $R8, 200 In above instruction, 1000 is the address of the BEQ instruction, and 200 is the value of the offset in the instruction. The contents of the register files and the data memory before the above instruction is executed are listed as follows. Register Value (decimal) R5 R6 R7 R8 120 136 124 4 Memory Location Value (decimal) 196 200 204 208 16 20 -2 156 Determine the values of the following data path signals and control signals in order to execute the instruction. Specify the value if it can be determined. Otherwise, please use "x" if the value is "unknown" or "don't care". ... Signal Value Read register 1 (Decimal) (Decimal) (Decimal) (Decimal) (Decimal) (Decimal) Read register 2 Read data 1 Register File Read data 2 Address Data Memory Write Data RegWrite MemWrite MemRead
Step by Step Solution
3.50 Rating (160 Votes )
There are 3 Steps involved in it
LW R7200R8 The instruction calculate the address of the memory location where the data is stored and ... View full answer
Get step-by-step solutions from verified subject matter experts
