Mitsubishi — 5.1 List of Instructions

5 Categories and Use of Basic Application Instructions 5.1 List of Instructions DVP-PM Application Manual 5-1 Mnemonic STEPS Category API Pulse Function 20PM 10PM Page 16-bit 32-bit 16-bit 32-bit Loop Control 00 CJ - 9 Conditional Jump 9 9 3 - 5-15 01 CALL - 9 Call Subroutine 9 9 3 - 5-18 02 SRET - - Subroutine Return 9 9 1 - 5-18 07 WDT - 9 Watchdog timer refresh 9 9 1 - 5-20 08 RPT - - Start of a Nested RPT-RPE loop (Only 1 level available) 9 9 3 - 5-21 09 RPE - - End of a Nested RPT-RPE loop 9 9 1 - 5-21 Transmission Comparison 10 CMP DCMP 9 Compare 9 9 7 9 5-23 11 ZCP DZCP 9 Zone Compare 9 9 9 12 5-24 12 MOV DMOV 9 Move 9 9 5 6 5-25 13 SMOV - 3 Shift move 9 9 11 - 5-26 14 CML DCML 3 Complement 9 9 5 9 5-29 15 BMOV - 3 Block move 9 9 7 - 5-30 16 FMOV DFMOV 3 Fill move 9 9 7 13 5-32 17 XCH DXCH 3 Exchange 9 9 5 9 5-33 18 BCD DBCD 9 Convert BIN to BCD 9 9 5 5 5-34 19 BIN DBIN 9 Convert BCD t o BIN 9 9 5 5 5-35 Four Arithmetic Operations 20 ADD DADD 9 Addition 9 9 7 9 5-36 21 SUB DSUB 9 Subtraction 9 9 7 9 5-38 22 MUL DMUL 9 Multiplication 9 9 7 9 5-39 23 DIV DDIV 9 Division 9 9 7 9 5-40 24 INC DINC 9 Increment 9 9 3 3 5-41 25 DEC DDEC 9 Decrement 9 9 3 3 5-42 26 WAND DWAND 9 Logical Word AND 9 9 7 9 5-43 27 WOR DWOR 9 Logical Word OR 9 9 7 9 5-44 28 WXOR DWXOR 9 Logical XOR 9 9 7 9 5-45 29 NEG DNEG 9 2’s Complement (Negation) 9 9 3 3 5-46 Rotation and Displacement 30 ROR DROR 9 Rotate right 9 9 5 9 5-48 31 ROL DROL 9 Rotate left 9 9 5 9 5-49 32 RCR DRCR 9 Rotate right with carry 9 9 5 9 5-50 33 RCL DRCL 9 Rotate left with carry 9 9 5 9 5-51 34 SFTR - 9 Bit shift right 9 9 9 - 5-52 35 SFTL - 9 Bit shift left 9 9 9 - 5-53 36 WSFR - 9 Word shift right 9 9 9 - 5-54 37 WSFL - 9 Word shift left 9 9 9 - 5-56 38 SFWR - 9 Shift register write 9 9 7 - 5-57 39 SFRD - 9 Shift register read 9 9 7 - 5-58 Data Processing 40 ZRST - 9 Zone Reset 9 9 5 - 5-59 41 DECO - 3 Decode 9 9 7 - 5-60 42 ENCO - 3 Encode 9 9 7 - 5-61