diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-09-28 15:55:56 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-09-28 15:55:56 -0400 |
commit | a58e2685b815a5a0d2d5f07bc3ae53016ba6f52b (patch) | |
tree | b80ae09d5e66c32633b29917ab5412000187c513 /tnslc/dummy.tnsl | |
parent | dedd1d1e4bcc2607a626776507ef1136ef44af8d (diff) |
Add stub code
Diffstat (limited to 'tnslc/dummy.tnsl')
-rw-r--r-- | tnslc/dummy.tnsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tnslc/dummy.tnsl b/tnslc/dummy.tnsl index 2a624a2..003e428 100644 --- a/tnslc/dummy.tnsl +++ b/tnslc/dummy.tnsl @@ -1,4 +1,4 @@ -/; _alloc +/; raw _alloc ;asm "mov %rax, %rdi" ;asm "push %r8" ;asm "push %r9" @@ -10,7 +10,7 @@ ;asm "pop %r8" ;/ -/; _delete +/; raw _delete ;asm "mov %rax, %rdi" ;asm "push %r9" ;asm "push %r10" @@ -20,7 +20,7 @@ ;asm "pop %r9" ;/ -/; main +/; main [int] ;asm "mov $10, %rax" ;asm "call _alloc" ;asm "call _delete" |