Question: 2 pts ) Calculate the memory address to access by the given branch instruction where x 2 2 ! , = x 2 3 .

2 pts) Calculate the memory address to access by the given branch instruction where
x22!,= x23. What addressing mode is used?
# PC =10,000ten
bne x22, x23, L1 # Assume that L1 is 40 in the machine code
this is my answer, it was wrong.
mem = pc + offset
mem =10,000+40=10,040

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!