From 38927a2169b9a99b0936122121ba849e109248df Mon Sep 17 00:00:00 2001 From: mRnea Date: Sat, 3 Aug 2024 12:03:58 +0300 Subject: added some basic tests --- test/syscall.lorth | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/syscall.lorth (limited to 'test/syscall.lorth') 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 -- cgit v1.2.3