Architecture

SRAV

Shift Right Arithmetic Variable

SRAV

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

SPECIAL

 

rs

 

rt

 

 

rd

 

0

 

SRAV

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

 

 

 

 

 

 

 

00000

 

000111

 

 

6

5

5

 

 

5

 

5

 

6

 

Format :

SRAV rd, rt, rs

Description :

Right-shifts the contents of general-purpose register rt (by the number of bits designated in the low- order five bits of general-purpose register rs), sign-extends the high-order bits, and puts the result in register rd.

Operation :

T:s GPR[rs]4..0

GPR[rd] (GPR[rt]31)s GPR[rt]31..s

Exceptions :

None

182

Page 193
Image 193
Toshiba TX39 user manual Srav