Instruction list
7-3
3 Application instruction list
Application instruction
Step Type
Instruction type
No.
Mnemon
ic
function
16/32
Bit
P
32bit 16bit S M H
00 CJ Conditional jump 16
√
—— 3 ○ ○ ○
01 CALL Call subroutine 16
√
—— 3 ○ ○ ○
02 SRET Subroutine return 16 —— 1 ○ ○ ○
03 IRET Interrupt return *1 —— 1 ○ ○ ○
04 EI Enable interrupt *1 —— 1 ○ ○ ○
05 DI Disable interrupt *1 —— 1 ○ ○ ○
06 FEND First end *1 —— 1 ○ ○ ○
07 WDT Waterdog timer 16
√
—— 1 ○ ○ ○
08 FOR Start of a for/next loop *1 —— 3 ○ ○ ○
Program flow
09 NEXT End a for/next loop *1 —— 1 ○ ○ ○
10 CMP Compare 16/ 32
√
13 7 ○ ○ ○
11 ZCP Zone compare 16/ 32
√
17 9 ○ ○ ○
12 MOV Move 16/ 32
√
9 5 ○ ○ ○
13 SMOV Shift move 16
√
—— 11 ○ ○ ○
14 CML Compliment 16/ 32
√
9 5 ○ ○ ○
15 BMOV Block move 16
√
—— 7 ○ ○ ○
16 FMOV Fill move 16/ 32
√
13 7 ○ ○ ○
17 XCH Exchange 16/ 32
√
9 5 ○ ○ ○
18 BCD BCD binary coded decimal 16/ 32
√
9 5 ○ ○ ○
Move and
compare
19 BIN BIN binary 16/ 32
√
9 5 ○ ○ ○
20 ADD Addition 16/ 32
√
13 7 ○ ○ ○
21 SUB Subtraction 16/ 32
√
13 7 ○ ○ ○
22 MUL Multiplication 16/ 32
√
13 7 ○ ○ ○
23 DIV Division 16/ 32
√
13 7 ○ ○ ○
24 INC Increment 16/ 32
√
5 3 ○ ○ ○
25 DEC Decrement 16/ 32
√
5 3 ○ ○ ○
26 WAND Word and 16/ 32
√
13 7 ○ ○ ○
27 WOR Word or 16/ 32
√
13 7 ○ ○ ○
28 WXOR Word exclusive or 16/ 32
√
13 7 ○ ○ ○
Arithmetic and
logic operations
29 NEG Negation 16/ 32
√
5 3 ○ ○ ○
30 ROR Rotation right 16/ 32
√
9 5 ○ ○ ○
31 ROL Rotation left 16/ 32
√
9 5 ○ ○ ○
32 RCR Rotation right with carry 16/ 32
√
9 5 ○ ○ ○
33 RCR Rotation left with carry 16/ 32
√
9 5 ○ ○ ○
34 SFTR Bit shift right 16
√
—— 9 ○ ○ ○
35 SFTL Bit shift left 16
√
—— 9 ○ ○ ○
36 WSFR Word shift right 16
√
—— 9 ○ ○ ○
Rotation and
shift
37 WSFL Word shift left 16
√
—— 9 ○ ○ ○