Mitsubishi — 5.1 List of Instructions

5 Categories & Use of Application Instructions 5.1 List of Instructions For applicable models, ES includes ES/EX/SS; SA includes SA/SX/SC; EH includes EH2/SV/EH3/SV2. ES/EX/SS series MPU does not support pulse execution type instructions (P instruction).

DVP-PLC Application Manual 5-1 Mnemonic P Applicable to STEPS Category API Function 16-bit 32-bit instruction ES SA EH2 EH3 16-bit 32-bit Loop Control 00 CJ -  Conditional Jump     3 - 01 CALL -  Call Subroutine     3 - 02 SRET - - Subroutine Return     1 - 03 IRET - - Interrupt Return     1 - 04 EI - - Enable Interrupts     1 - 05 DI - - Disable Interrupts     1 - 06 FEND - - The End of The Main Program (First End)     1 - 07 WDT -  Watchdog Timer Refresh     1 - 08 FOR - - Start of a FOR-NEXT loop     3 - 09 NEXT - - End of a FOR-NEXT loop     1 - Transmission Comparison 10 CMP DCMP  Compare     7 13 11 ZCP DZCP  Zone Compare     9 17 12 MOV DMOV  Move     5 9 13 SMOV -  Shift Move -    11 - 14 CML DCML  Compliment     5 9 15 BMOV -  Block Move     7 – 16 FMOV DFMOV  Fill Move     7 13 17 XCH DXCH  Exchange     5 9 18 BCD DBCD  Binary Coded Decimal     5 9 19 BIN DBIN  Binary     5 9 Four Arithmetic Operation 20 ADD DADD  Addition     7 13 21 SUB DSUB  Subtraction     7 13 22 MUL DMUL  Multiplication     7 13 23 DIV DDIV  Division     7 13 24 INC DINC  Increment     3 5 25 DEC DDEC  Decrement     3 5 26 WAND DAND  Logical Word AND     7 13 27 WOR DOR  Logical Word OR     7 13 28 WXOR DXOR  Logical Exclusive OR     7 13 29 NEG DNEG  2’s Complement (Negative)     3 5 114 MUL16 MUL32  16-bit/32-bit Multiplication - - -  7 13 115 DIV16 DIV32  16-bit/32-bit Division - - -  7 13 Rotation & Displacement 30 ROR DROR  Rotation Right     5 9 31 ROL DROL  Rotation Left     5 9 32 RCR DRCR  Rotation Right with Carry     5 9 33 RCL DRCL  Rotation Left with Carry     5 9 34 SFTR -  Bit Shift Right     9 - 35 SFTL -  Bit Shift Left     9 - 36 WSFR -  Word Shift Right -    9 - 37 WSFL -  Word Shift Left -    9 - 38 SFWR -  Shift Register Write -    7 - 39 SFRD -  Shift Register Read -    7 - Data Processing 40 ZRST -  Zero Reset     5 - 41 DECO -  Decode     7 - 42 ENCO -  Encode     7 - 43 SUM DSUM  Sum of Active Bits     5 9 44 BON DBON  Check Specified Bit Status     7 13 45 MEAN DMEAN  Mean     7 13 46 ANS - - Timed Annunciator Set -    7 - 47 ANR -  Annunciator Reset -    1 - 48 SQR DSQR  Square Root     5 9 49 FLT DFLT  Floating Point     5 9