0x8c880000 0x8c890004 0x01095021 0x000a5082 0x000a5080The following information will help you:
op | funct | |
lw | 35 | X |
addu | 0 | 33 |
srl | 0 | 2 |
sll | 0 | 0 |
beq $0, $0, L1 sll $0, $0, 0 sll $0, $0, 0 sll $0, $0, 0 L1: sll $0, $0, 0 sll $0, $0, 0Now try altering the distance between the beq instruction and the label L1 by inserting or removing dummy instructions. What portion of the beq machine instruction points to the branch target? What format (R, I, J) is beq? Given this, what does the following machine instruction do?
0x1000ffffIs the result what you expected? Why or why not?
jal L1Assume that the instruction is located at address 0x00400000 and L1 is located at address 0x00800080. What would it be if the jal replaced the beq in part 2 above?