Ad Code

Why IF & TF are cleared?

Why IF & TF are cleared?


The interrupt mechanism automatically clears IF and TF otherwise there would an infinite recursion of the
single step interrupt. The TF is set in the flags on the stack so another interrupt will comes after one more
instruction is executed after the return of the interrupt.
Reactions

Post a Comment

5 Comments

Please add nice comments or answer ....