global load_idt load_idt: ; takes the address of the first element in the Interrupt descriptor table mov eax, [esp+4] lidt eax ret