diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-25 22:16:48 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-25 22:16:48 -0400 |
commit | 89a27e4159b2b01be96b5f8ca51832766e878c51 (patch) | |
tree | 6fdef2ee921598dfc44f1cf6e72ab555f0e20876 /tnslc/main.tnsl | |
parent | 12679f9be4bd3a924ca0859a7ad133178513bace (diff) |
len fix for variables
Diffstat (limited to 'tnslc/main.tnsl')
-rw-r--r-- | tnslc/main.tnsl | 8 |
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) |