Advanced Function Instruction
7 -2 0
FUN 45
D
P
XCHG
EXCHANGE
FUN 45
D
P
XCHG
Da :
EN
Exchange control
Ladder symbol
45DP.XCHG
Db :
Da : Register a to be exchanged
Db : Register b to be exchanged
Da, Db may combine with V, Z, P0~P9 to serve indirect
address application
WY
WM
WS
TMR CTR HR
OR
SR ROR DR
XR
Range
Ope-
rand
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
V
、
Z
P0~P9
Da
○
○
○
○
○
○
○
○
*
○
*
○
○
Db
○
○
○
○
○
○
○
○
*
○
*
○
○
z
When exchange control "EN" = 1 or "EN
↑
" (
P
instruction) has a transition from 0 to 1, will exchanges the
contents of register Da and register Db in 16 bits or 32 bits (
D
instruction) format.
X0
EN
45P.XCHG
Da :
Db : R 1
R 0
z
The instruction at left exchanges the contents of the
16-bit R0 and R1 registers.
B15
B0
Da R0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Db R1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Ø
X0
=
B15
B0
Da R0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Db R1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Содержание FBs-CBE
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...