summaryrefslogtreecommitdiff
path: root/libtnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-06-29 20:15:46 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-06-29 20:15:46 -0400
commitfc5a382661262b4dac085d75739c4ac0601574a7 (patch)
treea705dcb7387e316a05c5162c0351488bd664e55a /libtnsl
parent2572cd049ee5e1e2685b1abe6bfcfbb8aa988a71 (diff)
[TNSLC] General updates
Diffstat (limited to 'libtnsl')
-rw-r--r--libtnsl/asm/asm.tnsl3
-rw-r--r--libtnsl/asm/x86.tnsl6
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
+ "
+;/