Question: Exercise 2.24 Assume that the register $t1 contains the address 0x1000 0000 and the register $t2 contains the address 0x1000 0010. a. lb $t0, 0($t1)
Exercise 2.24 Assume that the register $t1 contains the address 0x1000 0000 and the register
$t2 contains the address 0x1000 0010.
a. lb $t0, 0($t1)
sw $t0, 0($t2)
b. lb $t0, 0($t1)
sb $t0, 0($t2)
2.24.1 [5] <2.9> Assume that the data (in hexadecimal) at address 0x1000 0000 is:
1000 0000 12 34 56 78 What value is stored at the address pointed to by register $t2? Assume that the memory location pointed to $t2 is initialized to 0xFFFF FFFF.
2.24.2 [5] <2.9> Assume that the data (in hexadecimal) at address 0x1000 0000 is:
1000 0000 80 80 80 80 What value is stored at the address pointed to by register $t2? Assume that the memory location pointed to $t2 is initialized to 0x0000 0000.
2.24.3 [5] <2.9> Assume that the data (in hexadecimal) at address 0x1000 0000 is:
1000 0000 11 00 00 FF What value is stored at the address pointed to by register $t2? Assume that the memory location pointed to $t2 is initialized to 0x5555 5555.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
