[A83] Re: Explaining the stack for registers
[Prev][Next][Index][Thread]
[A83] Re: Explaining the stack for registers
Yes. When you push a register on the stack, that register's value is
unchanged.
Michael Vincent
Detached Solutions - www.detacheds.com
Radical Software - www.radicalsoft.org
----- Original Message -----
From: "The one and only SUCKER ..." <sucker_pvn@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Friday, August 17, 2001 12:32 PM
Subject: [A83] Re: Explaining the stack for registers
>
> >After reading the FAQ in AsmGuru there is a question about the stack with
> >registers. It says that (if I remember correctly) "if you push af and
then
> >pop bc, the contents of bc will be in af"
> >
> >WHY ???
> >
> >I see no logic in that, and unfortunatly it isn't explained in AsmGuru
> >either, so here I am :)
> >
> >Also I would like to know how many times a register can be pushed.
>
>
> And, if 5 is in af and when you push it, is it correct
> that there would be 5 in af again??
>
> SUCKER
>
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
References: