Ccf — Complement Carry Flag - Samsung S3F84B8 User Manual

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

S3F84B8_UM_REV 1.00
6.3.14 CCF — COMPLEMENT CARRY FLAG
CCF
C  NOT C
Operation:
The carry flag (C) is complemented. If C = "1", the value of the carry flag is changed to logic zero;
if C = "0", the value of the carry flag is changed to logic one.
C: Complemented.
Flags:
No other flags are affected.
Format:
opc
Given the carry flag is equal to "0":
Example:
CCF
If the carry flag is equal to "0", the CCF instruction complements it in the FLAGS register (0D5H),
changing its value from logic zero to logic one.
Bytes
Cycles
1
6-26
6 INSTRUCTION SET
Opcode
(Hex)
4
EF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents