We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Break Flag: Difference between revisions

From SnesLab
Jump to: navigation, search
(bullet point -> numbering)
(superscripted)
 
Line 1: Line 1:
The '''Break Flag''' (B) exists on the [[SPC700]], as bit 4 of the [[Program Status Word]].  It discerns between [[IRQ]]s and [[BRK]].
The '''Break Flag''' (B) exists on the [[SPC700]], as bit 4 of the [[Program Status Word]].  It discerns between [[IRQ]]s and [[BRK]].


BRK and [[PHP]] set the break flag.  IRQs and [[NMI]]s clear it. [1]
BRK and [[PHP]] set the break flag.  IRQs and [[NMI]]s clear it. <sup>[1]</sup>


[[Category:ASM]]
[[Category:ASM]]

Latest revision as of 22:57, 15 July 2023

The Break Flag (B) exists on the SPC700, as bit 4 of the Program Status Word. It discerns between IRQs and BRK.

BRK and PHP set the break flag. IRQs and NMIs clear it. [1]

References

  1. https://problemkaputt.de/fullsnes.htm#cpuregistersandflags