Forming the Ones and Twos Complements
85
S7-400 Instruction List
A5E00267845-01
Forming the Ones and Twos Complements
Instruc-
Address
Description
Length
in
Execution Time in
s
Instruc-
tion
Address
ID
Description
Length
in
Words
CPU 412
CPU 414
CPU 416
CPU 417
INVI
Form the ones complement of
ACCU1-L
1
0.1
0.06
0.04
0.03
INVD
Form the ones complement of
ACCU1
1
0.1
0.06
0.04
0.03
Status word for:
INVI, INVD
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
–
–
–
–
–
–
–
–
NEGI
Form the twos complement of
ACCU1-L (integer)
1
0.1
0.06
0.04
0.03
NEGD
Form the twos complement of
ACCU1 (double integer)
1
0.1
0.06
0.04
0.03
Status word for:
NEGI, NEGD
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
Yes
Yes
Yes
Yes
–
–
–
–