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.
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.
Why IF & TF are cleared?
Reviewed by MCH
on
December 26, 2012
Rating:
No comments: