Question: The assembly language code below is run on the micro - architecture diagram in the exam handout. The content of data memory is also shown.

The assembly language code below is run on the micro-architecture diagram in the
exam handout. The content of data memory is also shown. For the assembly language
command highlighted with a "$", determine the following information:
The register file A1, A2, A3, RD1, RD2, RD2U and WD3 bus values (in hex number format).
The data memory A, WD and RD bus values (in hex number format).
The values of Branch, MemOp, LdIm, RegWE, ALUCtl and MemWE (in binary numeber format).
--- Assembly Language ---
ldi r26,002
ldi r27,000
ldi r5,055
st r5,x
-.- Data Memory -.-
Address Value
003,0a3
002,04e
001,007
000,0xad Micro-architecture questions will refer to the following diagram:
Notes:
Once a new command is loaded from instruction memory on a rising clock edge, it
takes a full clock cycle for all bus and control line values to stabilize to their final
values. Your answer should reflect bus and memory values just before the next rising
clock edge. Therefore, if the command with the "*" writes to data memory, you can
assume that the write has not yet occured.
You can assume that all registers in the register file have been set to zero before the
code shown in the question is run.
 The assembly language code below is run on the micro-architecture diagram

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!