Renesas M32R-FPU User Manual

Page of 192
3
3-107
M32R-FPU Software Manual (Rev.1.01)
SRL3
SRL3
shift instruction
Shift right logical 3-operand
[Mnemonic]
SRL3  Rdest,Rsrc,#imm16
[Function]
Logical right shift
Rdest = ( unsigned ) Rsrc  >>  ( imm16 & 31 ) ;
[Description]
SRL3 right logical-shifts the contents of Rsrc into Rdest by the number specified by the 16-bit
immediate value, shifts zeroes into the most significant bits. Only the five least significant bits of
the immediate value are valid.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
dest
1001
src
1000
SRL3  Rdest,Rsrc,#imm16
imm16
INSTRUCTIONS
3.2 Instruction description