10 Applied Instructions (Rotation and Shift Operation)
195
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied Instructions
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
10. Applied Instructions (Rotation and Shift Operation)
This chapter introduces the instructions for rotating and shifting bit data and word data in specified directions.
Instruction name Function Reference
ROR
Rotation Right Section 10.1
RORP
DROR
DRORP
ROL
Rotation Left Section 10.2
ROLP
DROL
DROLP
RCR
Rotation Right with Carry Section 10.3
RCRP
DRCR
DRCRP
RCL
Rotation Left with Carry Section 10.4
RCLP
DRCL
DRCLP
SFTR
Bit Shift Right Section 10.5
SFTRP
SFTL
Bit Shift Left Section 10.6
SFTLP
WSFR
Word Shift Right Section 10.7
WSFRP
WSFL
Word Shift Left Section 10.8
WSFLP
SFWR
Shift Write [FIFO/FILO Control] Section 10.9
SFWRP
SFRD
Shift Read [FIFO Control] Section 10.10
SFRDP