GitHub_collection_hello-world/a/Assembler FASM DOS.asm
2021-05-09 02:57:36 +12:00

17 lines
178 B
NASM

format MZ
entry .code: start
segment .code
start:
mov ax, .data
mov ds, ax
mov dx, msg
mov ah, 9h
int 21h
mov ah, 4ch
int 21h
segment .data
msg db 'Hello World', '$'