mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-24 13:05:51 +00:00
Interupt pushes the flag register and the instruction pointer, then resets execution to 0x0200 + (imm)*2. Return from interupt pops the flags back and sets the ip. Returning execution to the interupting code. Implemented using a CPU hook that can be used to later implement interupts generated from hardware, or for errors like divide by 0.