; hello9.s - Print "Hello, world" from hello9.com (23 byte file) ; To asemble/run using NASM ; ; nasm hello9.s -o hello9.com ; Equivalent MASM: ; .model tiny ; .code ; main: org 100h mov ah, 9 mov dx, greeting ; mov dx, offset greeting int 21h ret greeting db "Hello, world",13,10,"$" ; end main