Created
June 13, 2017 01:28
-
-
Save kjensenxz/eacd2dcabb5497fd6dffbef9bb955e16 to your computer and use it in GitHub Desktop.
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
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