new 'print_integer' routine, nearly 120 bytes shorter

This commit is contained in:
FeralChild64 committed 2020-07-12 08:44:08 +02:00
1 parent 02f532e2ec
commit 2b5c01d3bb
4 files changed
+103 -127

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Helper compare subroutine for 'print_integer'
//
print_integer_compare:
lda FAC1_exponent+1
cmp print_integer_tab_hi, y
bne !+
lda FAC1_exponent+0
cmp print_integer_tab_lo, y
!:
rts