diff options
| author | 2025-08-15 22:44:36 +0330 | |
|---|---|---|
| committer | 2025-08-15 22:44:36 +0330 | |
| commit | 20790228a29b036e0aa9d91cfca15b2d52697331 (patch) | |
| tree | 67b538767482cc06ea0dcff85d47de957a72df9b /pu2/code.i2 | |
| parent | benchmark + operations + extra stufferinos (diff) | |
more cooler and more betterer
Diffstat (limited to 'pu2/code.i2')
| -rw-r--r-- | pu2/code.i2 | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/pu2/code.i2 b/pu2/code.i2 index 2086d42..e6a259c 100644 --- a/pu2/code.i2 +++ b/pu2/code.i2 @@ -1,11 +1,11 @@ -macro puts() { +macro puts(2) { @1 = 0; // write @2 = /1/; // ptr @3 = /2/; // size system(); } -macro putchar() { +macro putchar(1) { @1 = 0; // write @2 = 10; // ptr @3 = 1; // size @@ -13,14 +13,9 @@ macro putchar() { system(); } -// putchar([10]); -// puts([" hello world"], [15]); -// putchar([10]); -// putchar([10]); - -@10 = 3; -@4 = 0; - -@10 != @4; +putchar([10]); +puts([" hello world"], [15]); +putchar([10]); +putchar([10]); exit(0);
\ No newline at end of file |
