2024-10-25 13:47:27 -04:00

21 lines
298 B
NASM

// echo.asm
//
// receive byte over UART_RX and transmit the received byte to UART_TX
// repeat in an endless loop
//
// Put your code here:
// 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