summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-08-31 11:25:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-08-31 11:25:19 -0400
commit385a621b9487456c3167f204b02cb0ea0752191d (patch)
treef8646458ea5b1b49af192d162ed0713c73c6cca6 /test
parent4ed07ca38b99abdca750c6612c512f30965f1714 (diff)
- Optimized the memory read/write functions a bit more.
- Added a memcopy() function, for later on.
Diffstat (limited to 'test')
-rw-r--r--test/fib.s3
-rw-r--r--test/nop.s8
2 files changed, 10 insertions, 1 deletions
diff --git a/test/fib.s b/test/fib.s
index 65912ad..e2c2e0f 100644
--- a/test/fib.s
+++ b/test/fib.s
@@ -63,6 +63,9 @@ fib2:
bcs start2 ; Start all over again, if the carry flag was set.
bra fib2 ; Otherwise, keep looping.
+
+.org $FFC0
+.qword init
; Set up the thread vectors.
.org $FF50
.qword init2
diff --git a/test/nop.s b/test/nop.s
index 8d0d75d..948fd02 100644
--- a/test/nop.s
+++ b/test/nop.s
@@ -1,3 +1,4 @@
+.org $8000
reset:
cps
nop_loop:
@@ -7,6 +8,11 @@ nop_loop:
nop
nop
nop
+ nop
+ nop
bra nop_loop
+
+.org $FFC0
+.qword reset
a
-done
+d