12 lines
260 B
NASM
12 lines
260 B
NASM
|
[bits 32]
|
||
|
|
||
|
i_32bit_string: db 'Switched to 32-bit protected mode.', 0
|
||
|
|
||
|
main32:
|
||
|
mov ebx, i_32bit_string
|
||
|
call print32 ; print the 32-bit protected mode message
|
||
|
|
||
|
call i_kernel16_offset ; jump to the address of the loaded kernel
|
||
|
|
||
|
jmp g_infinite_loop ; hang
|