diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-03-31 23:09:14 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-03-31 23:09:14 +0300 |
| commit | 59148d666a78d671198d56caabe7fe4d7fb3fee1 (patch) | |
| tree | 4c54666dca7090fd8d4f898160afe080ed0f1fa6 /tests/3.qbt | |
| parent | 1dcaa90d8b706118235bc74a0f2cbdcb836d29bb (diff) | |
| download | qbt-59148d666a78d671198d56caabe7fe4d7fb3fee1.tar.gz qbt-59148d666a78d671198d56caabe7fe4d7fb3fee1.zip | |
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
Diffstat (limited to 'tests/3.qbt')
| -rw-r--r-- | tests/3.qbt | 13 |
1 files changed, 13 insertions, 0 deletions
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) => (); + => (); +} |
