Interrupt Latency - ASM vs. Basic
Hi,
I'm planning on usin serial interruots in PICBasic. I'm keeping the main loop as simple as possible to avod delays in servicing the interrupt, and thus minimizing the chance of buffer overrun. I am aos planning to reduce the serial speed to 300 baud. Hopefully, this will be enough. However, I have noticed some people using ASM service routines, using
DEFINE INTHAND ....
Rather than ON INTERRUPT
I assume that the advantage of embedding an ASM routine in the basic is that it is serviced more quickly. Is this the case, and if so, why ....?
Thanks,
Ben