??? 02/14/08 09:11 Read: times |
#150803 - ISRs in C Responding to: ???'s previous message |
Writing a (short) ISR in C usually adds a huge overhead, since common compilers will not attempt to fit the ISR in the 8 byte slot, but instead just emit a long jump (takes time) to the actual ISR.
So, if you can fit your ISR into 8 bytes, writing it in assembly and placing it in the reserved 8 bytes will save quite a few cycles. |
Topic | Author | Date |
Minimum ISR time | 01/01/70 00:00 | |
"bible" time? | 01/01/70 00:00 | |
details | 01/01/70 00:00 | |
re-expalin | 01/01/70 00:00 | |
Re: Minimum ISR time | 01/01/70 00:00 | |
what simple ISR? | 01/01/70 00:00 | |
You're right, it is bloody C | 01/01/70 00:00 | |
C and ISRs | 01/01/70 00:00 | |
Know thy tools | 01/01/70 00:00 | |
'using' can be counterproductive in SDCC | 01/01/70 00:00 | |
ISRs in C | 01/01/70 00:00 | |
Good point | 01/01/70 00:00 |