Advanced Function Instruction
7 -1 7
FUN 42
D
P
BITMV
BIT MOVE
FUN 42
D
P
BITMV
S : Source data to be moved
Ns : Assign Ns bit within S as source bit
D : Destination register to be moved
Nd : Assign Nd bit within D as target bit
S, Ns, D, Nd may combine with V, Z, P0~P9 to
serve indirect address application
WX
WY
WM
WS
TMR CTR
HR
IR
OR
SR
ROR
DR
K
XR
Range
Ope-
rand
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
16/32-bit
+/- number
V
、
Z
P0~P9
S
○
○
○
○
○
○
○
○
○
○
○
○
○
○
Ns
○
○
○
○
○
○
○
○
○
○
○
○
0
~
31
○
D
○
○
○
○
○
○
○
○
*
○
*
○
○
Nd
○
○
○
○
○
○
○
○
○
○
○
○
0
~
31
○
z
When move control "EN" = 1 or "EN
↑
" (
P
instruction) changes from 0 to 1, will move the bit status specified
by Ns within S into the bit specified by Nd within D.
z
When the operand is 16 bit, the effective range of N is 0~15. For 32 bit (
D
instruction) operand the effective
range is 0~31. N beyond this range will set the N value error flag "ERR" to 1, and do not carry out this
instruction.
X0
EN
S :
Ns : 11
WX 0
42P.BITMV
ERR
D :
Nd :
R 0
7
z
The instruction at left moves the status of B11 (X11)
within S into the B7 position within D. Except bit B7,
other bits within D does not change.
X15
X11
X0
S WX0
1
Ns
=
11
─────
Ø
X0
=
Nd
=
7
────────
D
R0
1
B15
B7
B0
Содержание 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 ...