Skip to main content
Visitor II
March 15, 2004
Question

ST9 interrupt trap

  • March 15, 2004
  • 2 replies
  • 729 views
Posted on March 15, 2004 at 09:30

ST9 interrupt trap

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    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.

    Visitor II
    May 17, 2011
    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.