
eZ8
™
CPU Core
User Manual
UM012820-0810 COM Instruction
119
COM
Definition
Complement.
Syntax
COM dst
Operation
dst
~dst
Description
The contents of the destination operand are complemented (one’s comple-
ment). All 1 bits are changed to 0 and all 0 bits are changed to 1.
Flags
Attributes
C Unaffected
Z Set if the result is zero; reset otherwise
S Set if Bit 7 of the result is set; reset otherwise
V Reset to 0
D Unaffected
H Unaffected
Mnemonic Destination
Op
Code
(Hex) Operand 1 Operand 2 Operand 3
COM R1 60 R1 — —
COM @R1 61 R1 — —
Kommentare zu diesen Handbüchern