]> git.sur5r.net Git - cc65/blob - libsrc/gamate/nmi.s
CMOS optimisation
[cc65] / libsrc / gamate / nmi.s
1 ;
2 ; NMI handling (Gamate version)
3 ;
4         .export NMIStub
5
6         .segment        "ONCE"
7
8 NMIStub:
9         ; A is saved by the BIOS
10         ;pha
11         ;txa
12         ;pha
13         ;tya
14         ;pha
15
16         ;pla
17         ;tay
18         ;pla
19         ;tax
20         ;pla
21         rts