summaryrefslogtreecommitdiff
path: root/asm/test.asm
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 15:53:04 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-09 15:53:04 +0100
commitf8c7333c7045ee9e4dae38933c29c6db12dd2501 (patch)
tree84fd855c7ee35169052817a23709be87dba94eda /asm/test.asm
parent8a3c8393b078084e8712641a2d2abdba728a0be1 (diff)
downloadSystDigit-Projet-f8c7333c7045ee9e4dae38933c29c6db12dd2501.tar.gz
SystDigit-Projet-f8c7333c7045ee9e4dae38933c29c6db12dd2501.zip
Use more elegant _clock and _output in test asm file.
Diffstat (limited to 'asm/test.asm')
-rw-r--r--asm/test.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/asm/test.asm b/asm/test.asm
index 4c3369f..5d58ff7 100644
--- a/asm/test.asm
+++ b/asm/test.asm
@@ -1,6 +1,6 @@
.text
init:
- liuz B 0x40
+ li B _clock
lw B 0(B)
jz B init
add D D B
@@ -11,8 +11,7 @@ init:
j init
ser_out_msg:
- liuz C 0x41
- lil C 0x02
+ li C _output
ser_out_msg_loop:
lb B 0(A)
jz B ser_out_msg_ret