GitHub_collection_hello-world/a/Assembler TASM DOS.asm
Richie Bendall dad1ce8fa0
Meta tweaks
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2021-02-17 17:39:48 +13:00

21 lines
204 B
NASM

IDEAL
MODEL SMALL
STACK 100h
DATASEG
msg db "Hello World!", 0dh, 0ah, "$"
CODESEG
start:
mov ax, @data
mov ds, ax
mov dx, offset msg
mov ah, 9
int 21h
mov ah, 4ch
int 21h
end start