os/asm/boot/bootable.asm

11 lines
224 B
NASM
Raw Permalink Normal View History

2021-08-22 01:32:20 +00:00
[bits 16]
; Catch end-of-execution in an infinite loop
g_infinite_loop:
jmp g_infinite_loop
; Fill in the remaining space with 00s and set the
; magic bit to make the bios boot the sector.
times 510-($-$$) db 0
dw 0xaa55