Enable the boot loader to load the second sector of a USB
Your code assumes that DS is set to 0. You can’t assume that. First part of your code should explicitly set DS to 0 if you are using org 0x7c00. You should seriously considering defining your stack by setting SS:SP. You don’t know where the existing one is or whether it is large enough to … Read more