cancel
Showing results for 
Search instead for 
Did you mean: 

ST9 interrupt trap

alessandra2
Associate II
Posted on March 15, 2004 at 09:30

ST9 interrupt trap

2 REPLIES 2
alessandra2
Associate II
Posted on May 17, 2011 at 11:35

Hi,

I would implement a “divide by zero trap� in C program. I know that this trap is different from normal interrupt it has to be finished not with ''iret''.

How it can be done? Could someone give me a simple example?

Thanks a lot.

kapil
Associate II
Posted on May 17, 2011 at 11:35

Read crtbegin.spp file and track the divide by zero ISR

there wont be anything but you can add your function.

but do read the datasheet carefully before that.