new 'print_integer' routine, nearly 120 bytes shorter
This commit is contained in:
1 parent
02f532e2ec
commit
2b5c01d3bb
4 files changed
+103
-127
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user