summaryrefslogtreecommitdiff
path: root/echo.S
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2026-01-29 21:26:44 +0100
committertaitep <taitep@taitep.se>2026-01-29 21:26:44 +0100
commit6b6b778ab0e3dd26f8aaab60411610115d47c3df (patch)
tree8b8804a9236d2227ce69db82de569bad6a67c5d3 /echo.S
parentbbfa20befe163c04d0a99278107f2608639318d3 (diff)
some cleanup
Diffstat (limited to 'echo.S')
-rw-r--r--echo.S18
1 files changed, 0 insertions, 18 deletions
diff --git a/echo.S b/echo.S
deleted file mode 100644
index 337c26b..0000000
--- a/echo.S
+++ /dev/null
@@ -1,18 +0,0 @@
-.section .text
-.globl _start
-
-.equ UART_DATA, 0
-.equ UART_STATUS, 1
-.equ UART_RX_READY, 0b10
-.equ UART_TX_READY, 0b01
-
-_start:
- li a0, 0x10000
-
-loop:
- lbu t0, UART_STATUS(a0)
- andi t0, t0, UART_RX_READY
- beqz t0, loop
- lbu t0, UART_DATA(a0)
- sb t0, UART_DATA(a0)
- j loop