Renesas M32R-FPU Stereo System User Manual


 
3
3-104
M32R-FPU Software Manual (Rev.1.01)
SRA3SRA3
shift instruction
Shift right arithmetic 3-operand
[Mnemonic]
SRA3 Rdest,Rsrc,#imm16
[Function]
Arithmetic right shift
Rdest = ( signed ) Rsrc >> ( imm16 & 31 ) ;
[Description]
SRA3 right arithmetic-shifts the contents of Rsrc into Rdest by the number specified by the 16-
bit immediate value, replicates the sign bit in Rsrc and puts the result in Rdest.
Only the five least significant bits are used.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
dest1001 src1010
SRA3 Rdest,Rsrc,#imm16
imm16
INSTRUCTIONS
3.2 Instruction description