The instruction And R4, R4, R8 is stored in location 0x37C00 in the memory. At t
ID: 3765099 • Letter: T
Question
The instruction
And R4, R4, R8
is stored in location 0x37C00 in the memory. At the time this instruction is fetched, registers
R4andR8contain the values 0x1000 and 0xB2500, respectively. Give the values in registers
PC, R4, RA, RM, RZ, and RYof Figures 5.8 and 5.10 in each clock cycle as this instruction
is executed, and also in the first clock cycle of the next instruction.
Figure5.8: https://drive.google.com/a/stu.ibu.edu.ba/file/d/0B9kOeXhwa1u0TlJNYmdHN2xzLTQ/view?usp=sharing
Figure:5.10: https://drive.google.com/a/stu.ibu.edu.ba/file/d/0B9kOeXhwa1u0MmtQUnlFU1RlTGc/view?usp=sharing
Explanation / Answer
PC = (PC + 4)
RA = (R4) = (0x1000)
RZ = (R4) + (R8) = (0x1000) + (0xB2500)
RY = (RZ)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.