From b6462786840cea2e2c3197a36234363f91e41b1a Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Mon, 15 Jul 2024 03:50:10 -0500 Subject: Improve assembler controls --- assembler/assemble.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assembler/assemble.s') 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} -- cgit v1.2.3