Re: LZ: push\pop af


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

Re: LZ: push\pop af



On Mon, 22 Jul 1996, David Kristensen wrote:


> Something I've been wondering for a long time is why when you want to push
> or pop a, you have to push or pop af. But f isn't a register. Does it stand
> for the flags? So to push and pop flags, all you have to do is push or pop
> af, right? (Like the pushf or popf in computer assembly). If anyone knows,
> please tell me if I am correct.
 
 
af is the a register and the flags register.  Push and pop need 16
bits to act on and they're each 8 bits.


Barry


References: