When are Interruptions signaled and launched?

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
Posts: 68
Joined: Tue May 17, 2016 10:15 pm

When are Interruptions signaled and launched?

Post by zerowalker » Fri May 04, 2018 9:57 am


(I know how IE/IF sets the trigger, so that's not the question)

So i find this a little bit confusing.

From my understanding, the Interruptions is launched before fetching the next instruction.
But is that also when the check for IF/IE happens, or does that happen on the cycle where either IF or IE is changed?

Cause you could basically set/unset IF/IE within one instruction cycle, and then when fetching the next instruction,
it would look like nothing happened etc.


Post Reply