I use the following code in a floppy-disk boot image to reset the pc if the kernel files aren't present on the boot media.
Reboot:
db 0x0ea
dw 0x0000
dw 0xffff
Which essentially assembles to the following instruction:
jmp far ptr 0FFFFh:0
I think it's a warm-reboot, i.e equivalent to hitting Ctrl-Alt-Delete, as opposed to hitting the reset button on the front of the machine.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…