summaryrefslogtreecommitdiff
path: root/test/test-the-tests.s
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2019-12-06 11:21:12 -0500
committermrb0nk500 <b0nk@b0nk.xyz>2019-12-06 11:21:12 -0500
commitb4f547ecb600729e0e1b980c27c154b2a99bbca1 (patch)
tree3873c155918deadfa0bbaa91551deb31d62793e3 /test/test-the-tests.s
parent5962c60342b9ed6562d7fb0f71a50ca9700b3735 (diff)
Finally got multithreading support working!!
I have also added a program that computes the Fibonacci sequence that I wrote in Sux assembly.
Diffstat (limited to 'test/test-the-tests.s')
-rw-r--r--test/test-the-tests.s25
1 files changed, 23 insertions, 2 deletions
diff --git a/test/test-the-tests.s b/test/test-the-tests.s
index 47f7576..8471fab 100644
--- a/test/test-the-tests.s
+++ b/test/test-the-tests.s
@@ -1,5 +1,26 @@
+.org $0000
cps
-inc
-jmp $1
+lda #$01
+lsl #$1
+bcs $13
+jmp $3
+lda.q #$8000000000000000
+lsr #$1
+bcs $1
+jmp $1D
+.org $8000
+cps
+lda #$01
+lsl #$1
+bcs $8013
+jmp $8003
+lda.q #$8000000000000000
+lsr #$1
+bcs $8001
+jmp $801D
+
+.org $FF50
+.qword $8000
+.org $0
done