summaryrefslogtreecommitdiff
path: root/programs/sub-suite/subeditor.s
diff options
context:
space:
mode:
Diffstat (limited to 'programs/sub-suite/subeditor.s')
-rw-r--r--programs/sub-suite/subeditor.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/programs/sub-suite/subeditor.s b/programs/sub-suite/subeditor.s
index aec613e..fdf1e4b 100644
--- a/programs/sub-suite/subeditor.s
+++ b/programs/sub-suite/subeditor.s
@@ -91,10 +91,10 @@ read:
bra read ; Keep looping.
parse:
- lda #0 ;
- tax ;
- jsr subasm ;
- bra start ;
+ and #0 ; Reset A.
+ tax ; Reset X.
+ jsr subasm ; Call SuBAsm, and start parsing this line.
+ bra start ; Go back to reading the keyboard.
getchar: