Question: Question 1 [ 3 0 points ] Given the following MIPS assembly program that is executing in a single - cycle processor. The program is

Question 1[30 points]
Given the following MIPS assembly program that is executing in a single-cycle processor. The program is stored in the memory address location starting at 0x04001248.
```
lui $a0,0xA003
ori $a0, $a0,1234
Start: addi $t0, $zero, 30
s1ti $v0, $t0,50
beq $v0, $zero, exit
s11 $t3, $t0,2
add $t3, $a0, $t3
1w $t3,0($t3)
add $t1, $t1, $t3
addi $t0, $t0,1
j Start
Exit: add $v0, $t1, $zero
jr $ra
```
(a) During the \(5^{\text {th }},7^{\text {th }}\) and \(8^{\text {th }}\) time cycle, determine which instruction is being executed in the single-cycle processor? [3 points]
(b) Based on the answer in part (a), highlight the datapath in the single-cycle processor
(c) Using the diagram below, determine the values for signals A, B, C, D, E, F, and G based on the instructions in part (a)[Please ensure the signal width is same as the bus width.]
(d) Determine the 9 control signals for the instructions in part (a) that are being executed in the signal-cycle processor. [Note: For don't care signal, please used symbol "\( X \)" to represent]
Question 1 [ 3 0 points ] Given the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!