section .data
    msg db "Hello world!"
    len equ $-msg

section .text
    global _start

_start:
    mov rax, 1    
    mov rdi, 1
    mov rsi, msg
    mov rdx, len
    syscall
    mov rax, 60  
    mov rdi, 00
    syscall

Embed on website

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