Turbo C - ISR chaining? (Developers)
> > With this you should be able to examine and modify the return address on
> > the stack and make your ISR "chain" to another.
>
> It's always better to avoid this dirty hacks that depends on ABI. Seems
> that many C compilers (at least we know DJGPP, BC, OWC) provides clean
> solution with chain_something function/macro...
What you want is bound to be one kind of dirty hack or another. It's not standard in any way (not de jure standard C, not de facto standard MSDOS C). You can write proper assembly code for this but you told us you didn't want to.
Complete thread:
- Turbo C - ISR chaining? - RayeR, 05.12.2020, 00:26 (Developers)
- Turbo C - ISR chaining? - tkchia, 05.12.2020, 07:09
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:25
- Turbo C - ISR chaining? - alexfru, 05.12.2020, 09:48
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:29
- Turbo C - ISR chaining? - alexfru, 07.12.2020, 06:32
- Turbo C - ISR chaining? - tom, 07.12.2020, 14:42
- Turbo C - ISR chaining? - alexfru, 07.12.2020, 06:32
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:29
- Turbo C - ISR chaining? - tkchia, 05.12.2020, 07:09