Question
Assume that, the following instruction is fetched by a single-cycle processor: 00000000100000100000100000100010. Assume that data memory is all zeros and that the processors registers have
Assume that, the following instruction is fetched by a single-cycle processor: 00000000100000100000100000100010. Assume that data memory is all zeros and that the processors registers have the following values at the beginning of the cycle in which the above instruction word is fetched: (a) Translate this to an assembly instruction.
(b) What is the register number supplied to the register files' "Read register 1" input? Is this register actually read and used?
(c) What is the register number supplied to the register files' "Read register 2" input? Is this register actually read and used?
(d) What is the register number supplied to the register files' "Write register" input? Is this register actually written? If so, what value is being written into this register?
(e) What is the output of the sign-exted?
(f) What is the output of the jump "Shift left 2" unit for this instruction word?
(g) For the ALU and the two add units, what are their data input values?
(h) Fill in the values of the control signals for this instruction in the table below
D HW5.pdf C file:///C/Users/brute/Dow nloads/HW5.pd Apps Web Authentication Welcome to Moodle Welco to the Canv Zy Home zyBooks WWorkday basspro S HW5.pdf ro ri r2 256 -128 19 -32 13 -6 -1 16 -2 1 D HW5.pdf C file:///C/Users/brute/Dow nloads/HW5.pd Apps Web Authentication Welcome to Moodle Welco to the Canv Zy Home zyBooks WWorkday basspro S HW5.pdf ro ri r2 256 -128 19 -32 13 -6 -1 16 -2 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started