The `mov sp, 0x7C00` stack setup you simulate here is the literal second or third instruction in nearly every real x86 boot sector on the OSDev wiki, chosen precisely because it sits just below the loaded boot sector and grows down into unused low memory. Understanding that hardware interrupts auto-push FLAGS/CS/IP onto this same stack is essential background for writing the IRET-based handlers used throughout the rest of this track.