| ??? 11/27/00 07:27 Read: times |
#6771 - RE: High level interrupt |
Hi Bush and Al Gore,
I'm totally confused about your discussion. What's the "EA command" ? Mean you the EA bit ? There is no influence of it to the current interrupt handler. Its often asked, why no further interrupt was executed after a software reset "LJMP 0000h". The reason was always, the CPU is still thinking to be already inside an interrupt. And the solution is always to execute a RETI 2 times. If no interrupt in progress, it acts similiar the RET instruction, otherwise it resets the internal interrupt logic. So, if you want to return from a high level interrupt to main without return to the low level interrupt, you must always do RETI 2 times instead of only 1. Otherwise in future all low level interrupts disabled. This must be true, because a lot of questions about this on this forum. And they all only solved in the described manner. Peter |



