aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test.S
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-24 09:38:08 -0700
committerChristian Cunningham <cc@localhost>2022-03-24 09:38:08 -0700
commit93bf62580a68533dc8252b9a2a055c02f34ecb67 (patch)
tree1b1ca92ebbe107a998136a1442c0dba5be885e13 /src/tests/test.S
parent3e64dda5d5c350cc325650133f7e64967f1efe84 (diff)
Modularized
Diffstat (limited to 'src/tests/test.S')
-rw-r--r--src/tests/test.S31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/tests/test.S b/src/tests/test.S
deleted file mode 100644
index e80b6be..0000000
--- a/src/tests/test.S
+++ /dev/null
@@ -1,31 +0,0 @@
-.section .text
-
-a.btest:
- push {lr}
- mov r0, #5
- cmp r0, #4
- pop {pc}
-
-.globl atest
-atest:
- push {lr}
- ldr r0, =a.btest
- mov r1, #0
- mov r2, #0
- bl add_thread
- mov r0, #5
- subs r0, #5
- svc #0
- beq 1f
- mov r0, #0
- mov r1, #11
- mov r2, #0x4E
- mov r3, #0xFF0000
- bl draw_cletter
- pop {pc}
-1: mov r0, #0
- mov r1, #11
- mov r2, #0x59
- mov r3, #0xFF00
- bl draw_cletter
- pop {pc}