f248303ddce5127baccf187ebbe0bd27f5e23fda
[ScratchNES.git] / src / CPU / instructions / BRK
1 IMPLIED
2 mapper write (256 + S) (PC + 2)
3 set S to (S - 1) mod 256
4 set SR to (128*flagN) + (64*flagV) + (32) + (16*flagB) + (8*flagD) + (4*flagI) + (2*flagZ) + (1*flagC)
5 mapper write (256 + S) SR
6 set S to (S - 1) mod 256
7 interrupt: vector "0xFFFE"
This page took 0.058209 seconds and 3 git commands to generate.