Delta DVP-ES2 — C.4.2 Numerical List of Instructions

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming C.4.2 Numerical List of Instructions C-22 Instruction Function PN Positive contact to Negative contact Mnemonic Classification API PULSE Function 16 bits 32 bits Loop Control 00 CJ –  Conditional jump 01 CALL –  Call subroutine 02 SRET – – Subroutine return 03 IRET – – Interrupt return 04 EI – – Enable interrupt 05 DI – – Disable interrupt 06 FEND – – The end of the main program (First end) 07 WDT –  Watchdog timer refresh 08 FOR – – Start of a For-Next Loop 09 NEXT – – End of a For-Next Loop Transmission Comparison 10 CMP DCMP  Compare 11 ZCP DZCP  Zone compare 12 MOV DMOV  Move 13 SMOV –  Shift move 14 CML DCML  Complement 15 BMOV –  Block move 16 FMOV DFMOV  Fill move 17 XCH DXCH  Exchange 18 BCD DBCD  Convert BIN to BCD 19 BIN DBIN  Convert BCD to BIN Four Arithmetic Operations 20 ADD DADD  Addition 21 SUB DSUB  Subtraction 22 MUL DMUL  Multiplication 23 DIV DDIV  Division 24 INC DINC  Increment 25 DEC DDEC  Decrement 26 WAND DAND  Logical Word AND 27 WOR DOR  Logical Word OR 28 WXOR DXOR  Logical XOR 29 NEG DNEG  2’s Complement (Negation) Rotation and Displacement 30 ROR DROR  Rotate right 31 ROL DROL  Rotate left 32 RCR DRCR  Rotate right with carry 33 RCL DRCL  Rotate left with carry 34 SFTR –  Bit shift right 35 SFTL –  Bit shift left 36 WSFR –  Word shift right 37 WSFL –  Word shift left 38 SFWR –  Shift register write