mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
b4163d0e4e
git-svn-id: svn://svn.cc65.org/cc65/trunk@484 b7a2c559-68d2-44c3-8de9-860c34a00d81
24 lines
258 B
ArmAsm
24 lines
258 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 05.08.1998
|
|
;
|
|
; CC65 runtime: Increment ax by 1
|
|
;
|
|
|
|
.export incax1
|
|
|
|
.macpack generic
|
|
|
|
.proc incax1
|
|
|
|
.ifpc02
|
|
ina ; 65C02 version
|
|
bne @L9
|
|
.else
|
|
add #1
|
|
bcc @L9
|
|
.endif
|
|
inx
|
|
@L9: rts
|
|
|
|
.endproc
|