Created
March 17, 2021 08:57
-
-
Save 0rbianta/05dc2d2d35ca1dbe5d7a5cd72d2d4077 to your computer and use it in GitHub Desktop.
x86 Hello world
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global _start | |
section .text | |
hw db "Hello, World!",0xA | |
_start: | |
mov rax, 0x1 | |
mov rdi, 0x1 | |
mov rsi, hw | |
mov rdx, 14 | |
syscall | |
mov rax, 0x3C | |
mov rdi, 0x0 | |
syscall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment