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

Diff. between RET & RETI


What is difference between RETI and

RET?

regards,
peter.

Parents
  • 1) Is the EA bit and IE bits affected in any way, while in ISR?
    not unless you manipulate them
    2) If you exit an interrupt using RET, what happens?

    you are hosed
    How do you reenable those interrupts that was disabled temporarily?

    push the address you want to continue at on the stack and execute reti

    Erik

Reply
  • 1) Is the EA bit and IE bits affected in any way, while in ISR?
    not unless you manipulate them
    2) If you exit an interrupt using RET, what happens?

    you are hosed
    How do you reenable those interrupts that was disabled temporarily?

    push the address you want to continue at on the stack and execute reti

    Erik

Children
No data