diff options
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 |