Renesas M32R-FPU Manual Do Utilizador

Página de 192
3
3-105
M32R-FPU Software Manual (Rev.1.01)
SRAI
SRAI
shift instruction
Shift right arithmetic immediate
[Mnemonic]
SRAI  Rdest,#imm5
[Function]
Arithmetic right shift
Rdest = ( signed ) Rdest  >> imm5 ;
[Description]
SRAI right arithmetic-shifts the contents of Rdest by the number specified by the 5-bit immedi-
ate value, replicates the sign bit in MSB of Rdest and puts the result in Rdest.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
dest
0101
imm5
001
SRAI  Rdest,#imm5
INSTRUCTIONS
3.2 Instruction description