Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions