build hack with UART TX / RX support

This commit is contained in:
2024-10-21 20:04:09 -04:00
parent ecacf86e9f
commit 2026be6851
4 changed files with 161 additions and 43 deletions

View File

@@ -2,3 +2,31 @@
// this little assembler programm outputs "Hi" on UART_TX
//
// Put your code here:
//check tx status
(START)
@UART_TX
D=M
@SENDH
D;JEQ
@START
0;JMP
(SENDH)
@72
D=A
@UART_TX
M=D
(WAIT)
@UART_TX
D=M
@SENDI
D;JEQ
@WAIT
0;JMP
(SENDI)
@105
D=A
@UART_TX
M=D
(END)
@END
0;JMP