PrintA

an anonymous user · September 16, 2020 · Assembly
section .data
    msg db "X", 0ah

section .text
    global _start

_start:
    mov rax, 1
    mov rdi, 1
    mov bl, 65
    mov [msg], bl
    mov rsi, msg
    mov rdx, 2
    syscall
    mov rax, 60
    mov rdi, 0
    syscall

Comments

Please sign up or log in to contribute to the discussion.