2023-01-11 11:13:09 +01:00
|
|
|
// echo.asm
|
|
|
|
//
|
|
|
|
// receive byte over UART_RX and transmit the received byte to UART_TX
|
|
|
|
// repeat in an endless loop
|
|
|
|
//
|
|
|
|
// Put your code here:
|
2024-10-25 13:47:27 -04:00
|
|
|
// hello.asm
|
|
|
|
// this little assembler programm outputs "Hi" on UART_TX
|
|
|
|
//
|
|
|
|
// Put your code here:
|
|
|
|
|
|
|
|
(POLL)
|
|
|
|
@UART_RX
|
|
|
|
D=M
|
|
|
|
@UART_TX
|
|
|
|
M=D
|
|
|
|
@UART_RX
|
|
|
|
M=0
|
|
|
|
@POLL
|
|
|
|
0;JMP
|