Renesas M32R-FPU Manual Do Utilizador

Página de 192
3
3-106
M32R-FPU Software Manual (Rev.1.01)
SRL
SRL
shift instruction
Shift right logical
[Mnemonic]
SRL  Rdest,Rsrc
[Function]
Logical right shift
Rdest = ( unsigned ) Rdest  >>  ( Rsrc & 31 ) ;
[Description]
SRL right logical-shifts the contents of Rdest by the number specified by Rsrc, shifts zeroes
into the most significant bits and puts the result in Rdest.
Only the five least significant bits of Rsrc are used.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
dest
0001
src
0000
SRL  Rdest,Rsrc
INSTRUCTIONS
3.2 Instruction description