URL
https://opencores.org/ocsvn/leros/leros/trunk
Subversion Repositories leros
[/] [leros/] [trunk/] [asm/] [echo.asm] - Rev 7
Go to most recent revision | Compare with Previous | Blame | View Log
//
// Just echo characters received from the UART
//
nop // first instruction is not executed
start:
in 0 // check rdrf
and 2
nop // one delay slot
brz start
in 1 // read received character
store r0
loop:
in 0 // check tdre
and 1
nop // one delay slot
brz loop
load r0
out 1
branch start
Go to most recent revision | Compare with Previous | Blame | View Log