3
3-106 M32R-FPU Software Manual (Rev.1.01)

SRLSRL

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]

dest0001 src0000 SRL Rdest,Rsrc

INSTRUCTIONS
3.2 Instruction description