[A83] Re: delay code


[Prev][Next][Index][Thread]

[A83] Re: delay code




> Is it that significant when only nop's are executed with halt?
> Then only the I register gets updated, am I right?

A HALT waits for an interrupt. While waiting, it switches the Z80 into low
power mode. Then when an interrupt is accepted, the interrupt routine is
executed, which on its turn, returns to the code following the HALT
instruction.

On itself, HALT doesn't affect any registers.

As for the I register, it is never changed except with LD I,A or when the
Z80 is reset.




Follow-Ups: References: