Re: INTERRUPT-8085
I asked my programmer about your question (old 8085 guy) and got this response. Hope this helps.
dfullmer
Since interrupt support is built into 8085, it handles
interrupts much like called subroutines.
Process:
Interrupt pin goes active (ex. 5.5)
8085 jumps to vector address (02CH for 5.5 int.)
Return address is automatically push onto stack so
return is easy and automatic.
Address of ISR in 02CH causes jump to ISR
Interrupts are now disabled
ISR performed
You must now manually re-enable interrupts and return
That is, last two op codes in ISR should be:
EI
RET
that's it.
I suppose if you wanted recursive or nested
interrupts, you could re-enable interrupts earlier in
the ISR.