CLI and STI (asm) in my ISR ? (Announce)
Hi,
I have a problem in my ISR runtime ( Compile with GCC x86 for dos )
In the ISR (18.2Hz), I call a subroutine (with 'call' function).
I test this, but after 3-4 seconds, my program crash! I suspect that when I call a function who was not time to finish their operations, a new ISR instance is launched, etc ..etc .. and my stack increases in my memory and CRASH!
if I use in my program CLI at the begin and STI a the end, or conversely of a ISR function, you think that is a solution ?
Best regards
---
Sébastien FAVIER
ps: Excuse me for my English level, I'm a French student
Complete thread:
- CLI and STI (asm) in my ISR ? - cpcdos, 17.02.2015, 13:22 (Announce)
- CLI and STI (asm) in my ISR ? - bretjohn, 17.02.2015, 16:38
- CLI and STI (asm) in my ISR ? - RayeR, 17.02.2015, 18:09
- CLI and STI (asm) in my ISR ? - cpcdos, 20.02.2015, 07:57
- CLI and STI (asm) in my ISR ? - cpcdos, 23.02.2015, 15:59
- CLI and STI (asm) in my ISR ? - RayeR, 23.02.2015, 19:37