diff options
Diffstat (limited to 'pu2/code.i2')
| -rw-r--r-- | pu2/code.i2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pu2/code.i2 b/pu2/code.i2 new file mode 100644 index 0000000..772fd85 --- /dev/null +++ b/pu2/code.i2 @@ -0,0 +1,15 @@ +macro putchar() { + @1 = 0; // write + @2 = 10; // ptr + @3 = 1; // size + @10 = /1/; // value + system(); // interrupt (@0 = 2; halt;) +} + +putchar(['h']); +putchar(['e']); +putchar(['l']); +putchar(['l']); +putchar(['o']); + +exit(0);
\ No newline at end of file |
