section .data

hello:   db "Hello, World!",0xa
len:     equ $ - hello

  section .text
  global _start

_start:
  mov rax, 1     ; write syscall
  mov rdi, 1     ; stdout
  mov rsi, hello ; text
  mov rdx, len   ; length
  syscall

exit:
  mov rax, 60    ; exit
  mov rdi, 0     ; return code
  syscall

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: