Comment

Comment by anhldbk

global _start

section .text

_start:

  mov rax, 1        ; write(
  mov rdi, 1        ;   STDOUT,
  mov rsi, msg      ;   msg,
  mov rdx, len   ;      sizeof(msg)
  syscall           ; );

  mov rax, 60       ; exit(
  mov rdi, 0        ;   EXIT_SUCCESS
  syscall           ; );
section .rodata

  msg: db "RIP Tony, Father of Assembly Language", 10
  len: equ $ - msg%
parent anhldbk 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton