Architecture
181
SRA Shift Right Arithmetic SRA
31 26 25 21 20 16 15 11 10 6 5 0
SPECIAL
000000
0
00000 rt rd sa SRA
000011
6 5 5 5 5 6
Format :
SRA rd, rt, sa
Description :
Right-shifts the contents of general-purpose register rt by sa bits, sign-extends the high-order bits,
and puts the result in register rd.
Operation :
T: GPR[rd] (GPR[rt]31)sa || GPR[rt]31..sa
Exceptions :
None