beautypg.com

Delta DVP-ES2 User Manual

Page 140

background image

D V P - E S 2 / S A 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 2 4

3.6 Numerical List of Instructions (classified according to the function)

Loop Control

Mnemonic

Applicable to

STEPS

API

16 bits

32 bits

PULSE

Function

ES2

EX2

SS2

SA2

SE

SX2 16-bit 32-bit

00 CJ

-

Conditional jump

3 -

01 CALL

-

Call subroutine

3 -

02 SRET

-

- Subroutine

return

1 -

03 IRET

-

- Interrupt

return

1 -

04 EI

-

- Enable

interrupt

1 -

05 DI

-

- Disable

interrupt

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

Mnemonic

Applicable to

STEPS

API

16 bits

32 bits

PULSE

Function

ES2

EX2

SS2

SA2

SE

SX2 16-bit 32-bit

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

Complement

5 9

15 BMOV

-

Block move

7 -

16 FMOV DFMOV

Fill move

7 13

17 XCH

DXCH

Exchange

5 9

18 BCD

DBCD

Convert BIN to BCD

5 9

19 BIN

DBIN

Convert BCD to BIN

5 9

Four Arithmetic Operations

Mnemonic

Applicable to

STEPS

API

16 bits

32 bits

PULSE

Function

ES2

EX2

SS2

SA2

SE

SX2 16-bit 32-bit

20 ADD

DADD

Addition

7 13

21 SUB

DSUB

Subtraction

7 13

22 MUL

DMUL

Multiplication

7 13

This manual is related to the following products: