Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MIPS Computer Organization. Any help is appreciated Suppose that a beq instruction resides at memory address 0x08000000 and that the rightmost 16 bits within the
MIPS Computer Organization. Any help is appreciated
Suppose that a beq instruction resides at memory address 0x08000000 and that the rightmost 16 bits within the machine code for the beq contains the value 0xBB. To what value (expressed in hex) would the PC be set if the zero flag=1 when the beq instruction is executed?
Instruction decode/ register fetch Instruction fetch MemRead ALUSrcA = 0 lorD = 0 IRWrite ALUSEB = 01 ALUOp = 00 PCWrite PCSource 0 ALUSrcA = 0 ALUSrcB = 11 ALUOp = 00 Start Memory address (Op= R-type) Branch O computation 09 Execution completion completion 2 9 (Op = 'LW') or (Op-Sw) ALUSrcA = 1 ALUSrcB = 10 ALUOp = 00 ALUSrcA = 1 ALUSrcB = 00 ALUOp 10 ALUSrcA = 1 ALUSrcB = 00 ALUOp = 01 PCWrite PCSource 10 PCSource = 01 Memory access Memory access R-type completion 3 5 MemRead lorD 1 MemWrite lorD = 1 RegDst = 1 RegWrite MemtoReg = 0 Write-back step 4 RegDst = 0 RegWrite MemtoReg = 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