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

18 lines
274 B
NASM

.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