Specifications
7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-5
Application Command Chart
Mnemonic Codes
Steps
API
16-bit 32-bit
Functions
Operand
16-bit 32-bit
00 CJ
Ω
Executes the program of specified pointer number when the jump command is on S 3
Ω
01 CALL
Ω
Executes the subroutine program specified by the pointer (P**) S 3
Ω
02 SRET
Ω
Executes the sequence program located at the next step to the CALL instruction None 1
Ω
03 IRET
Ω
Indicates the termination of processing of interrupt program None 1
Ω
04 EI
Ω
Enables the interrupt None 1
Ω
05 DI
Ω
Disables the interrupt program until the EI instruction is executed so that interrupt signals are ignored None 1
Ω
06 FEND
Ω
Terminates the main routine program None 1
Ω
07 WDT
Ω
Resets the watchdog timer in a sequence program None 1
Ω
08 FOR
Ω
Nested loop begins S3
Ω
09 NEXT
Ω
Nested loop ends
When the processing of FOR to NEXT instructions is executed “ n” times
unconditionally, performs the processing of the next step to the NEXT
instruction.
None 1
Ω
10 CMP DCMP
Comparison operation instruction, making numerical magnitude comparison between two pieces of
data.
S1, S2, D 7 13
11 ZCP DZCP Zone comparison S1, S2, S, D 9 17
12 MOV DMOV Transfers the data of the device specified at source to the device specified at destination S, D 5 9
14 CML DCML Counter transfer S, D 5 9
15 BMOV
Ω
Block move S, D, n 7
Ω
16 FMOV DFMOV Multiple points movement S, D, n 7 13
17 XCH DXCH Data exchange D1, D2 5 9
18 BCD DBCD Converts BIN data of device specified into BCD S, D 5 9
19 BIN DBIN Converts BCD data of device specified into BIN S, D 5 9
20 ADD DADD Performs the addition of BIN data S1, S2, D 7 13
21 SUB DSUB Performs the subtraction of BIN data S1, S2, D 7 13
22 MUL DMUL Performs the multiplication of BIN data S1, S2, D 7 13
23 DIV DDIV Performs the division BIN data S1, S2, D 7 13
24 INC DINC Performs the addition of 1 to the device specified D 3 5
25 DEC DDEC Performs the subtraction of 1 from the device specified D 3 5
26 WAND DAND Performs the logical product of data of device specified S1, S2, D 7 13
27 WOR DOR Performs the logical add of data of device specified S1, S2, D 7 13