Create Repository

This commit is contained in:
2024-11-20 10:27:13 -05:00
commit 4cbb3364b4
3 changed files with 198 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
BITS 64
jmp short one
two:
pop rbx
inc rbx
mov rax, 1 ; write(
mov rdi, 1 ; STDOUT_FILENO,
mov rsi, rbx ; "Hello, world!\n",
mov rdx, 14 ; sizeof("Hello, world!\n")
syscall ; );
ret
one:
call two
ret
db 'Hello, world!', 10