Learn why GCC can't generate true 16-bit code and how to properly configure it for real mode processor operation using .code16gcc directives.
Learn why GCC with the -m16 flag doesn't generate true 16-bit code and which alternative compilers to use for bootloaders compatible with 8086/8088 processors.