Use as "call dump_regs" from any real-mode code within .text16. Should preserve all registers and flags.