This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupts with c

hi members...

i know i have wrote the thread again but i want it correctly.

you know that i'm programming assembler in c!
my microcontroller ist the 80C535...
i want to transform interraupt also in c but i didn't know the right syntax.

have anybody a example-program oder anything else?

that would me help on!

thanks for your sympathy

yours sincerely

nick

Parents Reply Children
  • hi...

    is the interrupt are activated are the programm in a ordianed interruptadress)...

    example in assembler:

    $IC(sfr.def)
    ORG 4000H //startadress

    source...
    .......
    .........

    ........

    ORG INTERRUPTADRESS
    ......
    do something
    .......

    ......
    reti //go back in the mainprogramm

    ------------------------------------
    how to look the function in c?
    i haven't any associations!


    thanks for your sympathy

    nick