Advanced Function Instruction
7 -6
FUN 27
D
P
NEG
NEGATION
(Take the negative value)
FUN 27
D
P
NEG
D : Register to be negated
D 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
D
○
○
○
○
○
○
○
○
*
○
*
○
○
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction) from 0 to 1, negate (ie. calculate 2's complement)
the value of the content of the register specified by D, and store it back in the original D register.
z
If the value of the content of D is negative, then the negation operation will make it positive.
R 0
X0
EN
27P
NEG
z
The instruction at left negates the value of the R0
register, and stores it back to R0.
D
R0
12345
)
3039H
Ø
X0
=
D
R0
−
12345
)
CFC7H
Содержание 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 ...