diff options
| author | 2025-08-23 17:21:02 +0330 | |
|---|---|---|
| committer | 2025-08-23 17:21:02 +0330 | |
| commit | 2ae4f893d0f99843b5f8e9ba251bafe31f4e8015 (patch) | |
| tree | fcaa1371b6545d91b253e23c8fb1cce6d2998c8d /pu2/code.i2 | |
| parent | while loops! (diff) | |
variables!
Diffstat (limited to 'pu2/code.i2')
| -rw-r--r-- | pu2/code.i2 | 7 |
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]); |
