]> git.sur5r.net Git - cc65/blob - libsrc/runtime/incax1.s
Added mouse module from C64
[cc65] / libsrc / runtime / incax1.s
1 ;
2 ; Ullrich von Bassewitz, 05.08.1998
3 ;
4 ; CC65 runtime: Increment ax by 1
5 ;
6
7         .export         incax1
8
9         .macpack        generic
10
11 .proc   incax1
12
13 .ifpc02
14         ina                     ; 65C02 version
15         bne     @L9
16 .else
17         add     #1
18         bcc     @L9
19 .endif
20         inx
21 @L9:    rts
22
23 .endproc