diff options
Diffstat (limited to 'libtnsl')
-rw-r--r-- | libtnsl/asm/asm.tnsl | 3 | ||||
-rw-r--r-- | libtnsl/asm/x86.tnsl | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libtnsl/asm/asm.tnsl b/libtnsl/asm/asm.tnsl index d0da9a6..de525f5 100644 --- a/libtnsl/asm/asm.tnsl +++ b/libtnsl/asm/asm.tnsl @@ -26,4 +26,7 @@ the selected ISA/OS combo. #; module asm + + :include "asm/x86.tnsl" + ;/
\ No newline at end of file diff --git a/libtnsl/asm/x86.tnsl b/libtnsl/asm/x86.tnsl new file mode 100644 index 0000000..b010a76 --- /dev/null +++ b/libtnsl/asm/x86.tnsl @@ -0,0 +1,6 @@ +/; raw inline syscall (int i) + ; asm " + mov eax, {i} + int 80h + " +;/ |