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
(→‎External Links: page number)
(added more flags affected)
Line 16: Line 16:
!colspan="9"|Flags Affected
!colspan="9"|Flags Affected
|+
|+
|
|N
|N
|V
|V
|M
|M
|X
|B
|D
|D
|I
|I
Line 25: Line 26:
|C
|C
|+
|+
|[[65c816 native mode]]
|.
|.
|.
|.
|.
|.
|
|.
|0
|1
|.
|.
|+
|[[6502 emulation mode]]
|.
|.
|.
|1
|0
|0
|1
|1

Revision as of 04:36, 24 November 2023

Basic Info
Addressing Mode Opcode Length Speed
Stack 00 2 bytes 7 cycles*
Flags Affected
N V M B D I Z C
65c816 native mode . . . . 0 1 . .
6502 emulation mode . . . 1 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