You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
260 B
12 lines
260 B
3 years ago
|
[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
|