
APPENDICES
APP - 3
MELSEC-A
(f)
Program branch instructions
Jump
CJ, SCJ, JMP
Subroutine call
CALL, CALLP, RET
Interrupt program enable/disable
EI, DI, IRET
Microcomputer program call
SUB
(g)
Refresh instructions
Link refresh
COM
Link refresh enable/disable
EI, DI
Partial refresh
SEG
(3)
Application instructions
(a)
Logical operation instructions
16 bits
Two types each for WAND and WANDP
32 bits
DAND, DANDP
16 bits
Two types each for WOR and WORP
32 bits
DOR, DORP
16 bits
Two types each for WXOR and WXORP
32 bits
DXOR, DXORP
16 bits
Two types each for WXNR and WXNRP
32 bits
DXNR, DXNRP
2's complement
(reversed sign)
16 bits
NEG, NEGP
(b)
Rotation instructions
16 bits
ROR, RORP, RCR, RCRP
32 bits
DROR, DRORP, DRCR, DRCRP
16 bits
ROL, ROLP, RCL, RCLP
32 bits
DROL, DROLP, DRCL, DRCLP
(c)
Shift instructions
16 bits
SFR, SFRP, BSFR, BSFRP
Per device
DSFR, DSFRP
16 bits
SFL, SFLP, BSFL, BSFLP
Per device
DSFL, DSFLP
(d)
Data processing instructions
Data search
16 bits
SER, SERP
16 bits
SUM, SUMP
32 bits
DSUM, DSUMP
2.MDSU/n.
MDNM/ bits
DECO, DECOP
16 bits
SEG
Encode
2.MDSU/n.
MDNM/ bits
ENCO, ENCOP
Bit set
16 bits
BSET, BSETP
Bit reset
16 bits
BRST, BRSTP
Dissociation
16 bits
DIS, DISP
Association
16 bits
UNI, UNIP
(e)
FIFO instructions
Write
16 bits
FIFW, FIFWP
Read
16 bits
FIFR, FIFRP
Logical product
Logical product
Exclusive logical sum
NOT exclusive logical
sum
Right ward rotation
Left ward rotation
Right ward shift
Left ward shift
Bit check
Decode
Содержание A1SH
Страница 15: ...MEMO...