GitHub_collection_hello-world/a/Assembler FASM DOS.asm

17 lines
178 B
NASM
Raw Normal View History

format MZ
entry .code: start
segment .code
start:
2021-05-08 09:57:36 -05:00
mov ax, .data
mov ds, ax
mov dx, msg
mov ah, 9h
int 21h
mov ah, 4ch
int 21h
segment .data
2021-05-08 09:57:36 -05:00
msg db 'Hello World', '$'