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

17 lines
295 B
NASM

; 16 bit dos assembly
.model small
.stack
.data
message db "Hello world!", "$"
.code
main proc
mov ax,seg message
mov ds,ax
mov ah,09
lea dx,message
int 21h
mov ax,4c00h
int 21h
main endp
end main