2.13.3 [5] <2.6> For the lines above, what is the value of $t2 for the following
sequence of instructions?
srl $t2, $t0, 3
andi $t2, $t2, 0xFFEF
In the following exercise, the data table contains various MIPS logical operations.
You will be asked to find the result of these operations given values for registers
$t0 and $t1.
a. sll $t2, $t0, 1
andi $t2, $t2, –1
b. andi $t2, $t1, 0x00F0
srl $t2, 2
 
 
View Solution
 
 
 
<< Back Next >>