Z80 Interrupt Question

  • maikel

    maikel - 2008-08-20

    I'im working with z80 Interrupt mode 2. And all work fine but only once. Should I add the EI instruction after the isr code? The instruction reti does'nt do this??


    • Jacques Pelletier

      An EI is necessary before RETI to enable interrupts after the interrupt routine has ended.
      RETI doesn't enable interrupts by itself.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks