From fc5a382661262b4dac085d75739c4ac0601574a7 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 29 Jun 2022 20:15:46 -0400 Subject: [TNSLC] General updates --- libtnsl/asm/asm.tnsl | 3 +++ libtnsl/asm/x86.tnsl | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 libtnsl/asm/x86.tnsl (limited to 'libtnsl/asm') 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 + " +;/ -- cgit v1.2.3