summaryrefslogtreecommitdiff
path: root/programs/subasm-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'programs/subasm-2.s')
-rw-r--r--programs/subasm-2.s2
1 files changed, 2 insertions, 0 deletions
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?