# HG changeset patch # User William Astle # Date 1698030914 21600 # Node ID b375a38b2b1a23d00cd09dffceba1cb7ef4282d5 # Parent 69af7224f61478d5041cd2545c2c61590edf8980 Fix initialization error in integer to ascii conversion diff -r 69af7224f614 -r b375a38b2b1a src/int.s --- a/src/int.s Sun Oct 22 21:05:37 2023 -0600 +++ b/src/int.s Sun Oct 22 21:15:14 2023 -0600 @@ -9,8 +9,8 @@ lda #0x20 ; default sign to space sta -1,u ldx #int_toascii5 ; point to digit constant table - ldd #10 ; do 10 digits, no nonzero seen yet - stb fpaextra ; save digit count + ldd #0xa00 ; do 10 digits, no nonzero seen yet + std fpaextra ; save digit counts ldd val0+val.int+2 ; copy to temporary accumulator std fpaextra+4 ldd val0+val.int