Architecture
183
SRL Shift Right Logical SRL
31 26 25 21 20 16 15 11 10 6 5 0
SPECIAL
000000
0
00000
rt rd sa
SRL
000010
6 5 5 5 5 6
Format :
SRL rd, rt, sa
Description :
Right-shifts the contents of general-purpose register rt by sa bits, zero-fills the high-order bits, and
puts the result in register rd.
Operation :
T:
GPR[rd] ← 0
sa
|| GPR[rt]
31..sa
Exceptions :
None