summaryrefslogtreecommitdiff
path: root/src/first.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/first.s')
-rw-r--r--src/first.s19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/first.s b/src/first.s
deleted file mode 100644
index e46b502..0000000
--- a/src/first.s
+++ /dev/null
@@ -1,19 +0,0 @@
-.global _start
-.intel_syntax noprefix
-
-_start:
-
- // sys_write (print)
- mov rax, 1
- mov rdi, 1
- lea rsi, [hello_world]
- mov rdx, 14
- syscall
-
- // sys_exit
- mov rax, 60
- mov rdi, 69
- syscall
-
-hello_world:
- .asciz "Hello, World!\n"