Untitled
unknown
plain_text
4 years ago
430 B
4
Indexable
section .text global _start _start: mov rax, 0x4142434445464748 ; 'ABCDEFGH' push rax mov rdx, 0x8 ; length of string is 8 bytes mov rsi, rsp ; Address of string is RSP because string is on the stack mov rax, 0x1 ; syscall 1 is write mov rdi, 0x1 ; stdout has a file descriptor of 1 syscall ; make the system call
Editor is loading...