diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-07-15 03:50:10 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-07-15 03:50:10 -0500 |
commit | b6462786840cea2e2c3197a36234363f91e41b1a (patch) | |
tree | 7de4c5c4d54e4240fd7f2e91aad820a8651e7625 /assembler/assemble.s | |
parent | d6ff9f5bda85206d163f02f7cc78e47968c434ce (diff) |
Improve assembler controls
Diffstat (limited to 'assembler/assemble.s')
-rw-r--r-- | assembler/assemble.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assembler/assemble.s b/assembler/assemble.s index 9f5c022..704b7cf 100644 --- a/assembler/assemble.s +++ b/assembler/assemble.s @@ -9,7 +9,6 @@ // - make subroutine addresses explicit // - test each instruction // - decide on additional push or pops -// - add GO to get_char assemble: PUSH {LR} LDR R0, =uart_send @@ -72,4 +71,5 @@ done_stuff: MOV R0, R8 // copy the end_char into R0 BLX R9 // echo the space (or carriage return) here: LSRS R7, 0x8 // get next parse instruction BNE main_loop // if it's nonzero there are more things to parse + MOVS R0, 0 POP {PC} |