DVP - ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming

API

13

 

Mnemonic

 

Operands

Function

 

 

 

 

 

 

 

SMOV

 

P

 

Shift

 

 

 

Move

 

 

 

 

 

Controllers

ES2/EX2 SS2 SA2SE SX2

Type

 

Bit Devices

 

 

 

Word devices

 

 

 

 

 

 

Program Steps

 

OP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Y

M

S

K

H

KnX

KnY

KnM

KnS

T

C

D

E

F

SMOV, SMOVP: 11 step

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

 

 

*

*

*

*

*

*

*

 

*

*

 

 

 

 

 

 

 

m1

 

 

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m2

 

 

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

*

*

*

*

*

*

 

*

*

 

 

 

 

 

 

 

n

 

 

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

16-bit

 

 

 

 

32-bit

 

 

 

 

 

 

 

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

 

SA2

SX2

ES2/EX2

SS2

 

SA2

 

SX2

 

 

 

 

 

 

SE

 

SE

 

SE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S: Source device m1: Start digit to be moved from source device

m2: Number of digits to be

 

moved

D: Destination device n: Start digit of the destination device for the moved digits

 

Explanation:

1.This instruction is able to re-allocate or combine data. When the instruction is executed, m2 digits of contents starting from digit m1 (from high digit to low digit) of S will be sent to m2 digits starting from digit n (from high digit to low digit) of D.

2.M1168 is used for designating SMOV working mode. When M1168 = ON, the instruction is in BIN mode. When M1168 = OFF, the instruction is in BCD mode.

Points to note:

1.The range of m1: 1 – 4

2.The range of m2: 1 – m1

3.The range of n: m2 – 4

3 - 64

Page 180
Image 180
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Shift