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
(superscripted) |
(65c816 has it too) |
||
Line 2: | Line 2: | ||
BRK and [[PHP]] set the break flag. IRQs and [[NMI]]s clear it. <sup>[1]</sup> | BRK and [[PHP]] set the break flag. IRQs and [[NMI]]s clear it. <sup>[1]</sup> | ||
In [[emulation mode]] the [[65c816]] has a break flag too. | |||
[[Category:ASM]] | [[Category:ASM]] | ||
Line 9: | Line 11: | ||
=== References === | === References === | ||
# https://problemkaputt.de/fullsnes.htm#cpuregistersandflags | # https://problemkaputt.de/fullsnes.htm#cpuregistersandflags | ||
# [[Eyes & Lichty]], page 422, Table 18.2. 65x Flags. https://archive.org/details/0893037893ProgrammingThe65816/page/422 |
Revision as of 23:08, 21 July 2024
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]
In emulation mode the 65c816 has a break flag too.
References
- https://problemkaputt.de/fullsnes.htm#cpuregistersandflags
- Eyes & Lichty, page 422, Table 18.2. 65x Flags. https://archive.org/details/0893037893ProgrammingThe65816/page/422