> So could you explain precisely what is meant to happen? Is there a difference
> between RET and RETI or not?
>
> imc
>
I seem to remember that RETI re-enables the interrupts - when an interrupt
occurs, they are disabled (I think) which is done by setting (resetting?)
the interrupt flip-flops, and RETI restores them to whatever they were
before.
RET does not touch the interrupt flip-flops, it's just like
POP HL
JP (HL)
Nige
--
+----------------------------------------------------------------------------+
| "You've got to look at it from a fork's point of view" (Dr Steve Matthews) |
+----------------------------------------------------------------------------+