> > An interrupt in a divison which causes a context
> > switch with any kind of taskswitcher/threader will also break when there
> > is a divide in another thread that is scheduled.
> 
> I am not familiar with context switches. I guess they would have to be
> implemented in asm or relying on behviour that is undefined in C.

Ditto interrupts.

They are usually implemented in asm, and your analyser proposal would I
think work because any task switcher would either use asm or longjmp()
and thus make a function call.

Alan

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to