; hello.asm
section .data
message: db 'cscn71010', 10
section .text
global _start
_start:
mov rax, 1 ; 'write' syscall number
mov rdi, 1 ; stdout descriptor
mov rsi, message ; string address
mov rdx, 11 ; string length in bytes
syscall
mov rax, 60 ; 'exit' syscall number
xor rdi, rdi
syscall
Comments
Leave a comment