summaryrefslogtreecommitdiff
path: root/test/syscall.lorth
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-08-03 12:03:58 +0300
committermRnea <akannemre@gmail.com>2024-08-03 12:03:58 +0300
commit38927a2169b9a99b0936122121ba849e109248df (patch)
treec6764b7875e1935be52feab378fe5d452a2344f5 /test/syscall.lorth
parent8713ffbd95483fc8b6778fb2d4d67659b6217c42 (diff)
added some basic tests
Diffstat (limited to 'test/syscall.lorth')
-rw-r--r--test/syscall.lorth15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/syscall.lorth b/test/syscall.lorth
new file mode 100644
index 0000000..a58a9ec
--- /dev/null
+++ b/test/syscall.lorth
@@ -0,0 +1,15 @@
+;;; test
+;;; (format nil "abc~%bcd~%")
+bel 0 + 97 yaz
+bel 1 + 98 yaz
+bel 2 + 99 yaz
+bel 3 + 10 yaz
+
+1 bel 4 1 syscall-3
+
+bel 0 + eş oku 1 + yaz
+bel 1 + eş oku 1 + yaz
+bel 2 + eş oku 1 + yaz
+
+1 bel 4 1 syscall-3
+0 60 syscall-1