Chapter 5 Applied Instructions 5.1 Table of Applied Instructions 5-3 Instruction code Model Step Pulse Page Type API Function 10PM/ 16-bit 32-bit instruction 20MC 05PM 16-bit 32-bit number 15PM Loop control 00 CJ – Conditional jump 3 – 5-19 01 CALL – Calling a subroutine 3 – 5-22 02 SRET – – Indicating that a subroutine ends 1 – 5-23 07 WDT – Watchdog timer 1 – 5-25 08 RPT – – Start of a nested loop (only one loop) 3 – 5-26 09 RPE – – End of a nested loop 1 – 5-27 Transfer and comparison 10 CMP DCMP Comparing values 7 9 5-28 11 ZCP DZCP Zonal comparison 9 12 5-29 12 MOV DMOV Transferring a value 5 6 5-30 14 CML DCML Inverting bits 5 6 5-31 15 BMOV – Transferring values 7 – 5-32 16 FMOV DFMOV Transferring a value to several devices 7 8 5-34 17 XCH DXCH Interchanging values 5 9 5-35 18 BCD DBCD Converting a binary number into a binary-coded decimal number 5 5 5-36 19 BIN DBIN Converting a binary-coded decimal number into a binary number 5 5 5-37 Arithmetic 20 ADD DADD Binary addition 7 9 5-38 21 SUB DSUB Binary subtraction 7 9 5-40 22 MUL DMUL Binary multiplication 7 9 5-41 23 DIV DDIV Binary division 7 9 5-42