]> git.sur5r.net Git - cc65/commitdiff
Added mor specialized decax functions
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 26 Mar 2001 20:47:12 +0000 (20:47 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 26 Mar 2001 20:47:12 +0000 (20:47 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@675 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/runtime/Makefile
libsrc/runtime/decax3.s [new file with mode: 0644]
libsrc/runtime/decax4.s [new file with mode: 0644]
libsrc/runtime/decax5.s [new file with mode: 0644]
libsrc/runtime/decax6.s [new file with mode: 0644]
libsrc/runtime/decax7.s [new file with mode: 0644]
libsrc/runtime/decax8.s [new file with mode: 0644]

index beaab454cc768a39ccae56c28d8fe78407bf5962..2d554549c91402b6c24c4a5af22c6b222cb79942 100644 (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        \
diff --git a/libsrc/runtime/decax3.s b/libsrc/runtime/decax3.s
new file mode 100644 (file)
index 0000000..3a86d3f
--- /dev/null
@@ -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
diff --git a/libsrc/runtime/decax4.s b/libsrc/runtime/decax4.s
new file mode 100644 (file)
index 0000000..57e5c7c
--- /dev/null
@@ -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
diff --git a/libsrc/runtime/decax5.s b/libsrc/runtime/decax5.s
new file mode 100644 (file)
index 0000000..5b44bbb
--- /dev/null
@@ -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
diff --git a/libsrc/runtime/decax6.s b/libsrc/runtime/decax6.s
new file mode 100644 (file)
index 0000000..0ca4de6
--- /dev/null
@@ -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
diff --git a/libsrc/runtime/decax7.s b/libsrc/runtime/decax7.s
new file mode 100644 (file)
index 0000000..17636b5
--- /dev/null
@@ -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
diff --git a/libsrc/runtime/decax8.s b/libsrc/runtime/decax8.s
new file mode 100644 (file)
index 0000000..abeb632
--- /dev/null
@@ -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