[A83] Re: shadow registers


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

[A83] Re: shadow registers




At 20:16 2001-09-24, you wrote:

>Where are the shadow registers? Also on the Z80 itself??
>And what is the use for them??
>   SUCKER

They are a part of the z80 itself, and is used for interrupts.
When an interrupt occours, the z80 switches place of the shadow regs and 
the regular regs so all their contents is saved until the interrupt finishes.
Therefore you have to disable interrupt if you want to use them in your 
program.

///Olle





Follow-Ups: References: