; ----------------------------------------------------------------------------
; 1_hello.asm
; nasm -f bin -o 1_hello 1_hello.asm
; ----------------------------------------------------------------------------

section .text
   org 100h

   mov dx,my_message
   mov ah,9            ; Write string to STDOUT, DS:DX=pointer to '$' terminated string
   int 21h

   mov al,0            ; return code (0 = no error)
   mov ah,4Ch          ; "EXIT" - TERMINATE WITH RETURN CODE, AL = return code
   int 21h

section .data
   my_message db 'Hello',10,'$
