CLI

From C64-Wiki
Jump to: navigation, search

CLI (short for "CLear Interrupt flag") is the mnemonic for a machine language instruction which clears the interrupt flag, so that the CPU will respond to IRQ interrupt events. To disable the respond to IRQs, use the complementary instruction SEI.

Addressing mode[edit]

Opcode Addressing
mode
Assembler
format
Length
in bytes
Number of
cycles
Dec Hex
88 58 Implied CLI 1 2

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

CPU flags[edit]

CLI affects no processor status flags other than the interrupt status flag.