CLC

From C64-Wiki
Jump to navigationJump to search

CLC (short for "CLear Carry") is the mnemonic for a machine language instruction which unconditionally clears the carry flag.

Addressing mode[edit | edit source]

Opcode Addressing
mode
Assembler
format
Length
in bytes
Number of
cycles
Dec Hex
24 18 Implied CLC 1 2

CLC only supports the Implied addressing mode, as shown in the table at right.

CPU flags[edit | edit source]

CLC affects no status flags other than the carry flag.