VOGONS

Common searches


Search results

Display options

Re: Interrupt functions in C

I´m not doing this in ASM You should. Any hardware triggered interrupt can occur in a location that your high level compiler/library/whatever doesn't expect (just think about stack dependence) so you shouldn't do much more than a few plain ASM instructions like what you're doing by adjusting …

Re: Interrupt functions in C

problem is when interrupt function returns, immediately executes again from the beginning. So never returns control to code outside. That's by design, there is an exceptional event, the handler is responsible to clear up the situation. Usually that means for divbyzero to abort the program, if not …

Page 1 of 445