We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Interrupt Disable Flag: Difference between revisions
From SnesLab
(created page) |
(mode select flags category) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''Interrupt Disable Flag''' | The '''Interrupt Disable Flag''' (I) is bit 2 of the [[65c816]]'s [[status register]]. | ||
[[SEI]] sets it and [[CLI]] clears it. ([[SEP]] and [[REP]] can as well.) [[BRK]] and [[COP]] set it too. | |||
This flag is automatically set whenever the processor begins servicing an interrupt. | |||
[[BRK]] ignores its previous state. | |||
There are no BIS or BIC instructions that examine this flag (though there is an unrelated [[BIC (Super FX)]] instruction). | |||
=== See Also === | === See Also === | ||
* [[ | * [[Interrupt Enable Flag]] | ||
* [[ | * [[IRQ]] | ||
* [[NMI]] | |||
=== Reference === | |||
* Pickens, John. NMOS 6502 Opcodes. http://www.6502.org/tutorials/6502opcodes.html#IFLAG | |||
[[Category:ASM]] | |||
[[Category:Flags]] | |||
[[Category:Inherited from 6502]] | |||
[[Category:Mode Select Flags]] |
Latest revision as of 14:56, 16 August 2024
The Interrupt Disable Flag (I) is bit 2 of the 65c816's status register.
SEI sets it and CLI clears it. (SEP and REP can as well.) BRK and COP set it too.
This flag is automatically set whenever the processor begins servicing an interrupt.
BRK ignores its previous state.
There are no BIS or BIC instructions that examine this flag (though there is an unrelated BIC (Super FX) instruction).
See Also
Reference
- Pickens, John. NMOS 6502 Opcodes. http://www.6502.org/tutorials/6502opcodes.html#IFLAG