<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 25 Nov 2009 09:26:53 -0000
From   : michael.firth@... (michael.firth@...)
Subject: Quine

> -----Original Message-----
> From: 
> bbc-micro-bounces+michael.firth=bt.com@... 
> [mailto:bbc-micro-bounces+michael.firth=bt.com@...
> .uk] On Behalf Of Mark Haysman
> Sent: 25 November 2009 01:30
> To: bbc-micro@...
> Subject: Re: [BBC-Micro] Quine
> 
> > Think of it using "the traditional metaphor": It's a big stack of
> > dishes, all piled up. You can put dishes on top, you can 
> take off the
> > top dish. You can't pull out dishes from elsewhere in the stack, or
> > crockery will get broken and 
> wife/girlfriend/mom/nosy-biddy-next-door
> > will shout.
> 
> That's not strictly true, you can use some trickery to pull 
> something off 
> the stack that's not in order:
> 
> TSX
> INX
> LDA&101,X
> 
Surely

TSX
LDA &102,X

Does the same thing, but with less instructions?

Regards

Michael
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>