I’m looking for feedback and what I should add to my Minimal x86 Bootloader that I made in Assembly.
It’s very small and limited and I’m looking for suggestions to add.
Here is the code:
; Simple boot sector
; Assembled with NASM
; nasm -f bin boot.asm -o boot.bin
org 0x7C00
bits 16
start:
mov si, message
print_loop:
lodsb ; AL = [SI], SI++
cmp al, 0
je hang
mov ah, 0x0E ; BIOS teletype output
int 0x10
jmp print_loop
hang:
cli
hlt
jmp hang
message db "Hello from bare metal!", 0
times 510-($-$$) db 0
dw 0xAA55
Thank you have a good day : D