Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->COM
COM Logical Complement Accumulator or Memory
COMA
COMB
COM
A <- complement A or
B <- complement B or
M <- complement M
Condition Code Register:
H Not affected
N Set if result Negative, else cleared
Z Set if result Zero, else cleared
V Always cleared
C Always set
Addressing mode | No of cycles | No of bytes |
Inherent: | 2 | 1 |
Direct: | 6 | 2 |
Extended: | 7 | 3 |
Index/Indirect: | 6+ | 2+ |