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
Jump to: navigation, search
(no BIS/BIC)
(COP also sets it)
Line 1: Line 1:
The '''Interrupt Disable Flag''' (I) exists on the [[65c816]] as bit 2 of the [[status register]].
The '''Interrupt Disable Flag''' (I) exists on the [[65c816]] as bit 2 of the [[status register]].


[[SEI]] sets it and [[CLI]] clears it.  ([[SEP]] and [[REP]] can as well.)
[[SEI]] sets it and [[CLI]] clears it.  ([[SEP]] and [[REP]] can as well.) [[COP]] sets it too.


This flag is automatically set whenever the processor begins servicing an interrupt.
This flag is automatically set whenever the processor begins servicing an interrupt.

Revision as of 19:39, 9 August 2024

The Interrupt Disable Flag (I) exists on the 65c816 as bit 2 of the status register.

SEI sets it and CLI clears it. (SEP and REP can as well.) COP sets it too.

This flag is automatically set whenever the processor begins servicing an interrupt.

BRK ignores it.

There are no BIS or BIC instructions that examine this flag (though there is an unrelated BIC (Super FX) instruction).

See Also

Reference