![Samsung S3C8275X Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/samsung/s3c8275x/s3c8275x_user-manual_3998578161.webp)
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
INSTRUCTION SET
6-27
CCF
—
Complement Carry Flag
CCF
Operation:
C
←
NOT C
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.
Flags: C:
Complemented.
No other flags are affected.
Format:
Bytes
Cycles
Opcode
(Hex)
opc
1
4 EF
Example:
Given: The carry flag = "0":
CCF
If the carry flag = "0", the CCF instruction complements it in the FLAGS register (0D5H),
changing its value from logic zero to logic one.