Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
2 Instruction List
2.3 Applied Instructions
31
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)
Instruction name
Execution
condition
Function
Applicable PLCs
Reference
FX3U(C)
FX3G(C)
FX3S
FX2N(C)
FX1N(C)
FX1S
FXU/FX2C
FX0N
FX0(S)
Arithmetic and Logical Operation
WXOR Continuous
Logical exclusive OR
333333333
Section 9.9
WXORP Pulse 3333333
DXOR Continuous 333333333
DXORP Pulse 3333333
NEG Continuous
Negation
333
Section 9.10
NEGP Pulse 333
DNEG Continuous 333
DNEGP Pulse 333
Rotation and Shift Operation
ROR Continuous
Rotation right
3333 3
Section 10.1
RORP Pulse 3333 3
DROR Continuous 3333 3
DRORP Pulse 3333 3
ROL Continuous
Rotation left
3333 3
Section 10.2
ROLP Pulse 3333 3
DROL Continuous 3333 3
DROLP Pulse 3333 3
RCR Continuous
Rotation right with carry
333
Section 10.3
RCRP Pulse 333
DRCR Continuous 333
DRCRP Pulse 333
RCL Continuous
Rotation left with carry
333
Section 10.4
RCLP Pulse 333
DRCL Continuous 333
DRCLP Pulse 333
SFTR Continuous
Bit shift right
333333333
Section 10.5
SFTRP Pulse 3333333
SFTL Continuous
Bit shift left
333333333
Section 10.6
SFTLP Pulse 3333333
WSFR Continuous
Word shift right
3333 3
Section 10.7
WSFRP Pulse 3333 3
WSFL Continuous
Word shift left
3333 3
Section 10.8
WSFLP Pulse 3333 3
SFWR Continuous
Shift write
[FIFO/FILO control]
3333333
Section 10.9
SFWRP Pulse 3333333
SFRD Continuous
Shift read
[FIFO control]
3333333
Section 10.10
SFRDP Pulse 3333333
Data Operation
ZRST Continuous
Zone reset
333333333
Section 11.1
ZRSTP Pulse 3333333
DECO Continuous
Decode
333333333
Section 11.2
DECOP Pulse 3333333
ENCO Continuous
Encode
333333333
Section 11.3
ENCOP Pulse 3333333
SUM Continuous
Sum of active bits
3333 3
Section 11.4
SUMP Pulse 3333 3
DSUM Continuous 3333 3
DSUMP Pulse 3333 3