mirror of
https://github.com/cc65/cc65.git
synced 2024-08-17 03:29:15 +00:00
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
|