ClassicOS/boot1.asm

20 lines
186 B
NASM
Raw Normal View History

2024-08-31 16:50:33 -07:00
bits 16
org 0x7c00
boot:
mov si,hello
mov ah, 0x0e
.loop:
lodsb
or al,al
jz halt
int 0x10
jmp .loop
halt:
cli
hlt
hello: db "Hello world!",0
times 510 - ($-$$) db 0
dw 0xaa55