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 microarchitecture 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 A A A RD RD RDU and WD 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
ldi
ldi
st
Data Memory
Address Value
xad Microarchitecture 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
