Ccf - Complement Carry Flag - Samsung SAM88RCRI S3C9442 Manual

Table of Contents

Advertisement

S3C9442/C9444/F9444/C9452/C9454/F9454
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.
Flags:
C:
Complemented.
No other flags are affected.
Format:
opc
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.
SAM88RCRI INSTRUCTION SET
Opcode
Bytes
Cycles
1
4
(Hex)
EF
6-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sam88rcri s3c9444Sam88rcri s3c9452Sam88rcri s3c9454

Table of Contents