summaryrefslogtreecommitdiff
path: root/tnslc/main.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/main.tnsl')
-rw-r--r--tnslc/main.tnsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tnslc/main.tnsl b/tnslc/main.tnsl
index cf2e8ac..db68650 100644
--- a/tnslc/main.tnsl
+++ b/tnslc/main.tnsl
@@ -5,7 +5,13 @@
a.push(~c)
;/
-/; main [int]
+/; main (int argc, ~~uint8 argv) [int]
+
+ asm "mov r10, rdi"
+ asm "mov r11, rsi"
+
+ _print_num(PUSH_STR, argc)
+
Vector a
a.init(1)