DESCRIPTION OF INSTRUCTIONS
275
26. CPL A (Complement accumulator)
11110100
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example CPL A
Instruction code
: Byte 1
(A)←(A):
C AC F0 RS1 RS0 OV F1 P
:
:
:
Accumulator data 0 is set to 1 and 1 is set to 0.:
11110100
70
Byte 1
Accumulator
11010101
70
1
1
Before execution
Accumulator
00101010
70
After execution
: