Chapter 2: 19E (page 168)
Assume the following register contents:
\(t0=0AAAAAAAA, \)t1=012345678
1. For the register values shown above, what is the value of \(t2 for the following sequence of instructions?
sll \)t2,\(t0,44
or \)t2,\(t2,\)t1
2. For the register values shown above, what is the values of \(t2 for the following sequence of instructions?
sll \)t2,\(t0,4
andi \)t2,\(t2,-1
3. For the register values shown above, what is the value of \)t2 for the following sequence of instructions?
srl \(t2,\)t0,3
andi \(t2,\)t2, 0xFFEF
Short Answer
Value of $t2 after the execution of given sequence of instructions: