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

BRK: Difference between revisions

From SnesLab
Jump to: navigation, search
(linkify stack)
(→‎External Links: page number)
Line 43: Line 43:


=== External Links ===
=== External Links ===
* [[Eyes & Lichty]] page on BRK: https://archive.org/details/0893037893ProgrammingThe65816/page/n462
* [[Eyes & Lichty]] page 436, on BRK: https://archive.org/details/0893037893ProgrammingThe65816/page/n462
* [[Labiak]] page on BRK: https://archive.org/details/Programming_the_65816/page/n136
* [[Labiak]] page on BRK: https://archive.org/details/Programming_the_65816/page/n136
* [[MCS6500 Manual]] page on BRK: https://archive.org/details/mos_microcomputers_programming_manual/page/n164
* [[MCS6500 Manual]] page on BRK: https://archive.org/details/mos_microcomputers_programming_manual/page/n164

Revision as of 04:00, 21 November 2023

Basic Info
Addressing Mode Opcode Length Speed
Stack 00 2 bytes 7 cycles*
Flags Affected
N V M X D I Z C
. . . 0 1 . .

BRK (Break) is a 65x instruction designed to trigger a software interrupt. The byte following the opcode is called the Signature Byte. BRK takes one additional cycle in native mode.

See Also

External Links