Question: Question 3 : Single - cycle Datapath ( 1 5 points ) Assume PC is holding 0 x 0 0 4 0 0 0 0

Question 3: Single-cycle Datapath (15 points)
Assume PC is holding 0x00400000. The instruction memory contents are shown in table 1.
The data memory contains all zeros except for the memory addresses shown in table 2. The
register values are shown in the table 3. Assume both instruction memory and data memory
are little-endian.
Table 1
Instruction Memory Address Instruction Memory Content
... unknown
0x004000000x04
0x004000010x00
0x004000020xA9
0x004000030xAE
0x004000040x00
0x004000050x53
... unknown
Table 2
Data Memory address Content
0x100100400x20
0x100100410x24
0x100100420x04
0x100100430x01
0x100100440x20
0x100100450x02
0x100100460x66
0x100100470x48
Table 3
Register $at $a1 $t1 $v0 $v1 $t2 $S5 $pc
Value
0(10)0x0000FFFF 0x000010011(10)-98(10)97(10)0x100100400x00400000
(a) Assume a 32-bit MIPS instruction is fetched from the instruction memory according to
the PC value, write the instruction in 32-bit binary format. (2 points).

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 Databases Questions!