Hi all,
I've looked through the docs and searched online, but I can't find an answer to this.
Normal ISRs work just fine for the FX2, but I want to use the USB autovector functionality. I can't just use a bunch of function pointers, as the table uses actual jump instructions which the CPU "reinterprets" to get the destination of the jump.
I've seen several people produce solutions to this that each have their own problems. The SDCC documentation hints that there is a solution, but gives no information.
Is there actually a solution, like using __interrupt(), or some nice way to generate a compatible jump table that can be located in a fixed position in memory by the linker? I don't like the idea of using an assembler stub that inherently has to define pretty much every ISR, if only as a dummy function.
If not, would patches to sdcc be welcome? -Ian _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
