Skip to content

Instantly share code, notes, and snippets.

@0rbianta
Created March 17, 2021 08:57
Show Gist options
  • Save 0rbianta/05dc2d2d35ca1dbe5d7a5cd72d2d4077 to your computer and use it in GitHub Desktop.
Save 0rbianta/05dc2d2d35ca1dbe5d7a5cd72d2d4077 to your computer and use it in GitHub Desktop.
x86 Hello world
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