??? 10/29/04 07:07 Read: times Msg Score: +1 +1 Informative |
#79984 - Re: Enable INT0 only for one instruction Responding to: ???'s previous message |
The NOP was needed, because every instruction influencing the interrupt logic cause, that minimal one additional instruction was executed before any pending interrupt was served.
And only one NOP cause in this case, that also only one pending interrupt was served. Because a RETI was also an instruction, which influence the interrupt logic This nice feature was added on the 8051 to give the main a chance to be executed, even if interrupts faster triggered than executed. In opposition on the ARM7TDMI (e.g. Philips LPC2106) such interrupts can block the system permanently. Peter |
Topic | Author | Date |
Re: Enable INT0 only for one instruction | 01/01/70 00:00 | |
Re: Enable INT0 only for one instruction | 01/01/70 00:00 | |
Re: Enable INT0 only for one instruction | 01/01/70 00:00 | |
Re: Enable INT0 only for one instruction | 01/01/70 00:00 | |
Missed the point...![]() | 01/01/70 00:00 | |
Re: Enable INT0 only for one instruction | 01/01/70 00:00 |