194
4
4 Instructions4.5.4 Data Rotation and Shift
The RAMP instruction has two modes, which mode to use is selected by the M8026 ag. M8029 is set to
ON when interpolation is completed. The execution is shown as follows:
X10
〔RAMP D10 D11 D12 K100 〕
S1 S
2
D n
X10
(D10)
(D11)
M8029
X10
(D10)
(D11)
M8029
M8026=ON
M8026=OFF
4.5.4 Data Rotation and Shift
Data rotation and
shift
ROR Rotation right
ROL Rotation left
RCR Rotation right with carry
RCL Rotation left with carry
SFTR Bit shift right
SFTL Bit shift left
WSFR Word shift right
WSFL Word shift left
SFWR FIFO data write
SFRD FIFO data read
SFR 16-bit data shift right with carry by n bits
SFL 16-bit data shift left with carry by n bits