        ;;  My first test program...

        section .data

        STDOUT       equ 1  ; the standard output
        LF           equ 10 ; Line Feed – output the new line
        EXIT_SUCCESS equ 0  ; successful operation
        SYS_exit     equ 60 ; call code for terminate
        SYS_write    equ 1  ; call code for output

        msg db "Hello, world!", LF
        msglen dq 14

        section .text
        global _start

_start:
        mov rax, SYS_write
        mov rdi, STDOUT
        mov rsi, msg
        mov rdx, [msglen]
        syscall
        
        mov rax, SYS_exit
        mov rdi, EXIT_SUCCESS
        syscall

        
