From 691ae45b3916379b0b1d845a5581d9068426b134 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 18 May 2020 20:56:45 -0400 Subject: Fixed some more bugs in the assembler. --- programs/subasm-2.s | 2 ++ 1 file changed, 2 insertions(+) (limited to 'programs/subasm-2.s') diff --git a/programs/subasm-2.s b/programs/subasm-2.s index 26af017..f10dac8 100644 --- a/programs/subasm-2.s +++ b/programs/subasm-2.s @@ -275,6 +275,8 @@ pnthex_end: print_space: lda #' ' ; Set the character to a space. phb #1 ; Preserve the spacing count. + ldb #1 ; Enable replace mode. + stb b ; jsl print_char ; Print the space. plb #1 ; Get the spacing count back. deb ; Have we printed all of the spacing? -- cgit v1.2.3-13-gbd6f