Skip to content

Instantly share code, notes, and snippets.

@kjensenxz
Created Jun 13, 2017
Embed
What would you like to do?
BITS 64
CPU X64
global _start
section .text
_start:
inc rdi ; stdout, will not change after syscall
mov rsi, y ; will not change after syscall
mov rdx, 8192 ; will not change after syscall
_loop:
mov rax, 1 ; sys_write
syscall
jmp _loop
y: times 4096 db "y", 0xA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment