SAM47 INSTRUCTION SET KS57C2308/P2308/C2316/P2316
5-48
COM Complement Accumulator
COM A
Operation: Operand Operation Summary Bytes Cycles
AComplement accumulator (A) 2 2
Description: The accumulator value is complemented; if the bit value of A is "1", it is changed to "0" and vice
versa.
Operand Binary Code Operation Notation
A11011101A A
00111111
Example: If the accumulator contains the value 4H (0100B), the instruction
COM A
leaves the value 0BH (1011B) in the accumulator.