Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BITS 16
- start:
- mov ax, 07C0h
- mov ax, 288
- mov ss, ax
- mov sp, 4096
- mov ax, 07C0h
- mov ds, ax
- mov si, text_string
- call print_string
- jmp $ ; INFINITE LOOP
- print_string:
- mov ax, boot_string
- .repeat:
- lodsb
- cmp al, 0
- je .done
- int 10h
- jmp .repeat
- .done:
- ret
- times 510-($-$$) db 0
- dw 0xAA55
- boot_string db 'Starting Operating System...', 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement