1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

Added mor specialized decax functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@675 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-03-26 20:47:12 +00:00
parent c3ec23aed0
commit c6c752ef8b
7 changed files with 114 additions and 0 deletions

View File

@ -34,6 +34,12 @@ OBJS = add.o \
condes.o \
decax1.o \
decax2.o \
decax3.o \
decax4.o \
decax5.o \
decax6.o \
decax7.o \
decax8.o \
decaxy.o \
decsp1.o \
decsp2.o \

18
libsrc/runtime/decax3.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 3
;
.export decax3
.macpack generic
.proc decax3
sub #3
bcs @L9
dex
@L9: rts
.endproc

18
libsrc/runtime/decax4.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 4
;
.export decax4
.macpack generic
.proc decax4
sub #4
bcs @L9
dex
@L9: rts
.endproc

18
libsrc/runtime/decax5.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 5
;
.export decax5
.macpack generic
.proc decax5
sub #5
bcs @L9
dex
@L9: rts
.endproc

18
libsrc/runtime/decax6.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 6
;
.export decax6
.macpack generic
.proc decax6
sub #6
bcs @L9
dex
@L9: rts
.endproc

18
libsrc/runtime/decax7.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 7
;
.export decax7
.macpack generic
.proc decax7
sub #7
bcs @L9
dex
@L9: rts
.endproc

18
libsrc/runtime/decax8.s Normal file
View File

@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 26.03.2001
;
; CC65 runtime: Decrement ax by 8
;
.export decax8
.macpack generic
.proc decax8
sub #8
bcs @L9
dex
@L9: rts
.endproc