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

interrupt with sdcc

hi members....

i want to use interrupts with sdcc.
i write assembler programms with c at the moment. this work is a part of a project.
i know the souce code for assembler but not the c source. how to accost the interrupt adress?

yours sincelely

nick

Parents
  • hi again...

    the customarily interrupt programm with assembler show the following source:

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

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


    ....................

    ORG INTERRUPTADRESS
    source.............
    ......do something.........
    ..............................
    ..............................
    reti //go back to the exit source where the interrupt are actuate.

    END

    -----------------------------------------
    how i use the interrup function with the c language?
    what must declarated in the header file?

    thanks for you help

    yours sincerely

    nick

Reply
  • hi again...

    the customarily interrupt programm with assembler show the following source:

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

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


    ....................

    ORG INTERRUPTADRESS
    source.............
    ......do something.........
    ..............................
    ..............................
    reti //go back to the exit source where the interrupt are actuate.

    END

    -----------------------------------------
    how i use the interrup function with the c language?
    what must declarated in the header file?

    thanks for you help

    yours sincerely

    nick

Children
No data