summaryrefslogtreecommitdiff
path: root/asm/test.asm
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 16:10:58 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 16:10:58 +0100
commit8d87eacbcb26e7abc429d7824e90c617f172045e (patch)
tree07cffa442f5170503a7148347b969c76435415c0 /asm/test.asm
parent35e0c0f16f58a7503045de5e047e029dd06983a2 (diff)
downloadSystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.tar.gz
SystDigit-Projet-8d87eacbcb26e7abc429d7824e90c617f172045e.zip
Make things great !
Diffstat (limited to 'asm/test.asm')
-rw-r--r--asm/test.asm25
1 files changed, 0 insertions, 25 deletions
diff --git a/asm/test.asm b/asm/test.asm
deleted file mode 100644
index 5d58ff7..0000000
--- a/asm/test.asm
+++ /dev/null
@@ -1,25 +0,0 @@
-.text
-init:
- li B _clock
- lw B 0(B)
- jz B init
- add D D B
- push D
- li A msgtick
- jal ser_out_msg
- pop D
- j init
-
-ser_out_msg:
- li C _output
-ser_out_msg_loop:
- lb B 0(A)
- jz B ser_out_msg_ret
- sb B 0(C)
- incri A 1
- j ser_out_msg_loop
-ser_out_msg_ret:
- jr RA
-
-msgtick:
- ascii "Tick!"