summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-07-24 20:12:26 +0200
committerLouis Burda <quent.burda@gmail.com>2023-07-24 20:12:26 +0200
commit29894d56e144223629e558070cbc52080e21342e (patch)
tree26d2fbbd2094d57b49fca4d202b9b34908013f34 /test
parent5835917f57d4dc04b406c8e3e06bf3b046d709e3 (diff)
downloadtis100-29894d56e144223629e558070cbc52080e21342e.tar.gz
tis100-29894d56e144223629e558070cbc52080e21342e.zip
Fully implement tokenizer and port value passing
Diffstat (limited to 'test')
-rw-r--r--test/test.asm11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/test.asm b/test/test.asm
index 80de3f5..a03a156 100644
--- a/test/test.asm
+++ b/test/test.asm
@@ -2,16 +2,13 @@ stdin X1 Y1
stdout X3 Y1
tpu X1 Y1
- mov acc, bak
-label:
- goto label
+ mov UP, RIGHT
end
tpu X2 Y1
- mov UP, RIGHT
- mov RIGHT
+ mov LEFT, RIGHT
end
tpu X3 Y1
-
-edn
+ mov LEFT, DOWN
+end