summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-05-18 20:56:45 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-05-18 20:56:45 -0400
commit691ae45b3916379b0b1d845a5581d9068426b134 (patch)
treec5f0100cd118c5e1cf7174a92bb2522ca6ae1790 /programs
parent5dd788d5a1acc7f23835882420d50e9f020728ac (diff)
Fixed some more bugs in the assembler.
Diffstat (limited to 'programs')
-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?