]> git.sur5r.net Git - cc65/blob - libsrc/runtime/decax1.s
callptr4
[cc65] / libsrc / runtime / decax1.s
1 ;
2 ; Ullrich von Bassewitz, 29.12.1999
3 ;
4 ; CC65 runtime: Decrement ax by 1
5 ;
6
7         .export         decax1
8
9         .macpack        generic
10
11 .proc   decax1
12
13         sub     #1
14         bcs     @L9
15         dex
16 @L9:    rts
17
18 .endproc