EttinOS/src/HELLO.ASM

14 lines
159 B
NASM

cpu 8086
org 0x3000
;Print a hello world.
mov si, hello
mov ah, 0x2
int 0x21
;Return to the system
int 0x20
;Data
hello db "Hello world!", 0x0