aboutsummaryrefslogtreecommitdiff
path: root/pu2/code.i2
diff options
context:
space:
mode:
Diffstat (limited to 'pu2/code.i2')
-rw-r--r--pu2/code.i27
1 files changed, 3 insertions, 4 deletions
diff --git a/pu2/code.i2 b/pu2/code.i2
index 22ab74f..b173469 100644
--- a/pu2/code.i2
+++ b/pu2/code.i2
@@ -1,5 +1,4 @@
-
/*
testing grounds for the ir2 assembler
@@ -23,10 +22,10 @@ macro putchar(1) {
system();
}
-@90 = 5;
+let count = 5;
-while (@90) {
- @90--;
+while (count) {
+ count--;
puts(["hello"], [5]);
putchar([10]);