From 545aa2341ac98c1184f78042abea247553f1e04a Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Sat, 24 Apr 2021 10:53:07 +0100 Subject: [PATCH] Removed basic tests now we have lots of software --- attic/tests/basics.usm | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 attic/tests/basics.usm diff --git a/attic/tests/basics.usm b/attic/tests/basics.usm deleted file mode 100644 index a8cf19f..0000000 --- a/attic/tests/basics.usm +++ /dev/null @@ -1,42 +0,0 @@ -( hello world ) - -%RTN { JMP2r } - -( devices ) - -|0100 ;System { vector 2 pad 6 r 2 g 2 b 2 } -|0110 ;Console { vector 2 pad 6 char 1 byte 1 short 2 string 2 } - -( program ) - -|0200 - - ( for loop ) - #00 #0d - $loop - ( body ) - SWP #01 ADD SWP - DUP2 LTH ^$loop JNZ - POP2 - - ( while ) - #00 #0d - $while - ( body ) - DUP2 EQU ^$end JNZ - SWP #01 ADD SWP - ^$while JMP $end - POP2 - - ( switch ) - #02 - DUP #01 NEQ ^$b JNZ - ( a ) - $b DUP #02 NEQ ^$c JNZ - ( b ) - $c DUP #03 NEQ ^$default JNZ - ( c ) - $default - POP - -BRK