I'm writing a small bootloader for an x86 based PC. The problem is that the CPU is somehow still active after executing these instructions:
sti
hlt
sti is supposed to disable interrupts for the next instruction
hlt is supposed to completely halt the processor
Since they're used together, I assumed they would just 'freeze' the computer. But when I assemble it and mount it in VirtualBox as a floppy image, my CPU jumps to 100%.
What am I doing wrong?