diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-08-23 19:46:17 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-08-23 19:46:17 -0500 |
commit | 80d8f3ae48255f786bd4d52a1819ea0c339f6946 (patch) | |
tree | 70126a16181caf459cfcf79fce983655a7a704e5 /newasm/input.s | |
parent | b08def431c09449b5ad2ff4379fb403b2e1bf67b (diff) |
Add register parser and binary search for opcodes
Diffstat (limited to 'newasm/input.s')
-rw-r--r-- | newasm/input.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newasm/input.s b/newasm/input.s index f3db1e9..7644a81 100644 --- a/newasm/input.s +++ b/newasm/input.s @@ -8,6 +8,7 @@ getline: PUSH {R4, R5, LR} // save registers MOVS R4, R0 // copy buffer start address + MOVS R5, 0 // beginning offset next: BL uart_recv // get a char CMP R0, 0x03 // end of text (^C) BEQ cancel // don't submit, start on next line |