Today I was investigating a bug where a simple program wasn't executing properly. It emerged that BIOS loads the code from the MBR at 0x7c00.
Relevant info reproduced here:
The (legacy) BIOS checks bootable devices for a boot signature, a so called magic number. The boot signature is