From NES Hacker Wiki
Jump to: navigation, search
Clear Carry Flag
Opcode: CLC
Operation: 0 → C
Status Register: Status-List.png

CLC (Clear Carry Flag) clears the Carry Flag in the Processor Status Register by setting the 0th bit 0. To set the carry flag, use SEC.


This pseudo C code shows how the CLC opcode functions when it is executed.

SET_CARRY((0));               // Set the 0th bit of the processor status to 0.

Addressing Modes

Addressing Mode Assembly Language Form Opcode # Bytes # Cycles
Implied CLC 18 1 2