Question: Problem 3 ( 0 . 6 points ) We know the beq format machine language code: 0 0 0 1 0 0 sssss ttttt iiii

Problem 3(0.6 points)
We know the beq format machine language code:
000100
sssss
ttttt
iiii
iiii
iiii
iiii
beq rs rt I
a). We knowBTA= Address of branch instruction+4+ I shift left 2 bits sign-extended to 32-bit,BTA=0x00400000, Memory Address of Branch Instruction is 0x00400008, Answer Question: What is 16-bit I?
b).Translatebeq $1,$0,0x0004 to binary number
c).As we knowBTA= Address of branch instruction+4+ I shift left 2 bits sign-extended to 32-bit
Address for the instruction "beq $1,$0,0x0004" is at memory address0x00400010, what is BTA

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 Programming Questions!