CLI
Jump to navigation
Jump to search
| Clear Interrupt Disable Flag | ||||||
| ||||||
CLI (Clear Interrupt Disable Flag) clears the Interrupt Flag in the Processor Status Register by setting the 2nd bit 0. To set the interrupt disable flag, use SEI.
Operation
This pseudo C code shows how the CLI opcode functions when it is executed.
SET_INTERRUPT((0)); // Set the 2nd bit of the processor status to 0.
Addressing Modes
| Addressing Mode | Assembly Language Form | Opcode | # Bytes | # Cycles |
|---|---|---|---|---|
| Implied | CLI | 58 | 1 | 2 |