EasyManua.ls Logo

ZiLOG Z8 Series - Page 173

ZiLOG Z8 Series
261 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
166
Complement Carry Flag
Syntax
CCF
Instruction Format
Operation
C NOT C
The C Flag is complemented. If C = 1, then it is changed to C = 0; or, if C = 0, then it is
changed to C = 1.
Example
If the C Flag contains a 0, the statement:
CCF
Op Code: EF
changes the C Flag from C = 0 to C = 1.
Cycles
OPC
(Hex)
OPC 6 EF
Flag Description
C Complemented
Z Unaffected
S Unaffected
V Unaffected
D Unaffected
H Unaffected

Table of Contents

Related product manuals