Architecture

SRA

Shift Right Arithmetic

SRA

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

SPECIAL

 

0

 

rt

 

 

rd

 

sa

 

SRA

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

00000

 

 

 

 

 

 

 

 

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

181

Page 192
Image 192
Toshiba TX39 user manual Sra