On 28.04.2016 14:31, Philipp Klaus Krause wrote: > I had a look at bug reports https://sourceforge.net/p/sdcc/bugs/2131/ > and https://sourceforge.net/p/sdcc/bugs/2339/ and section "3.8.4 Z80 > Interrupt Service Routines" in the manual. > > According to the manual, we have: > 1) non-interruptible isr (can be interrupted by nmi only): > void i1(void) __interrupt > 2) interruptible isr (can be interrupted by any interupt) > void i2(void) __critical __interrupt(0) > 3) nmi handler (can be interrupted by nmi only) > void i3(void) __critical __interrupt
Also, I think that the syntax for 1) and 2) should be swapped. It seems vcounter-intuitive that the one with __critical can be interrupted, but not the one without. Philipp
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user