| << Previous Message | Main Index | Next Message >> |
| << Previous Message in Thread | This Month | Next Message in Thread >> |
Date : Tue, 24 Nov 2009 15:09:57 +0000
From : bbcmicro@... (Ian Stocks)
Subject: Quine
Mick Champion wrote:
> Sorry, I should have done PLP there as opposed to PLA. So if I wanted to
> save A and its flags and do something else
>
> PHA
> PHP
> //do other code
> PLA
> PLP
>
> ?
Nope, think of a stack of plates, the last one you pushed onto the pile
will be the first one you pop off the pile. So the push and pop need to
be nested.
PHA
PHP
//do other code
PLP
PLA
Ian.
| << Previous Message | Main Index | Next Message >> |
| << Previous Message in Thread | This Month | Next Message in Thread >> |