From 59148d666a78d671198d56caabe7fe4d7fb3fee1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 31 Mar 2024 23:09:14 +0300 Subject: produce some very limited assembly output + Several subsystems missing critical features, but enough to do some basic things like calling procedures, printing to screen and doing loops --- tests/3.qbt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/3.qbt (limited to 'tests/3.qbt') diff --git a/tests/3.qbt b/tests/3.qbt new file mode 100644 index 0000000..7d3217a --- /dev/null +++ b/tests/3.qbt @@ -0,0 +1,13 @@ +main() +{ + i27 i = 0; + i27 max = 1000000000; + i27 sum = 0; + +top: + i27 sum = sum + i; + i27 i = i + i27 1; + i < max -> top; + &_putchar(sum) => (); + => (); +} -- cgit v1.3