Add x86-assembly

This commit is contained in:
dwrz
2026-10-27 12:41:06 +00:00
parent 42c2105b16
commit dcacadffc0
11 changed files with 632 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
.text
.global _start
_start:
# Store system call 1 in the EAX register.
mov $1, %eax
# Store the exit code 0 in the EBX register.
mov $0, %ebx
# Call interrupt handler 0x80 (128) -- on Linux, this is the kernel.
int $0x80