168
CHAPTER 9. INSTRUCTION SET
9.4.7
Carry Flag Operation Instructions
SET1 CY
Function: CY
←
1
Sets the carry flag.
CLR1 CY
Function: CY
←
0
Clears the carry flag.
SKT CY
Function: Skip if CY = 1
When the carry flag is 1, skips the next instruction.
NOT1 CY
Function: CY
←
CY
Inverts the carry flag. If the carry flag is 0, it becomes 1 and if it is 1, it becomes 0.