11 lines
224 B
NASM
11 lines
224 B
NASM
[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
|