Question: Consider the following block of code: .text move: lw $12, 0($8) sw $12, 0($9) addiu $8, $8, 4 addiu $9, $9, 4 addi $7, $7,
Consider the following block of code:
.text
move: lw $12, 0($8)
sw $12, 0($9)
addiu $8, $8, 4
addiu $9, $9, 4
addi $7, $7, -1
end: bne $7, $0, move
If the text segment starts at 0x04000000, what is the value of the label end?
| 0x04000014 |
| 0x04000020 |
| 0x04000010 |
| 0x04000006 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
