From 126762cc9b3322d724102ebd94ff8d4e2311c150 Mon Sep 17 00:00:00 2001 From: verdant Date: Mon, 1 Jun 2026 20:44:58 +0800 Subject: Initial commit --- syscall.s | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 syscall.s (limited to 'syscall.s') diff --git a/syscall.s b/syscall.s new file mode 100644 index 0000000..cf3cacb --- /dev/null +++ b/syscall.s @@ -0,0 +1,14 @@ +.intel_syntax noprefix + +.global write +.global exit + + +write: + mov rax, 1 + syscall + ret + +exit: + mov rax, 60 + syscall -- cgit v1.2.3