Application instructions
3.27.6 Logical Operation Instructions :
BIN 16-bit 2's complement ... NEG, NEGP
Bit devices
X
NEG
D
2's complement execution commands
Functions
(1) Reverses the sign of the 16-bit data of device specified at
result in device specified at
Before
execution
Sign
conversion
After
execution
(2) Used to reverse the positive sign to the negative sign and vice versa.
168
Usable Devices
Word (16-bit)
devices
Y
M
T
C
NEG
NEGP
.
D
Constants Level
D
K
H
D
16 bits
Error
Digit
Designation
(M9010,
N
M9011)
K1 to K4
Head number of device
which stores data for
which 2' complement
will be performed
and stores the
D
Flag