From 385a621b9487456c3167f204b02cb0ea0752191d Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Mon, 31 Aug 2020 11:25:19 -0400 Subject: - Optimized the memory read/write functions a bit more. - Added a memcopy() function, for later on. --- test/fib.s | 3 +++ test/nop.s | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3-13-gbd6f