Re: LZ: Screen Reversing...
[Prev][Next][Index][Thread]
Ben Shakal wrote:
>
> > Date: Thu, 10 Oct 1996 00:02:07 +0200 (EET)
> > From: Ilkka Neuvonen <pdx@kontu.bbs.fi>
> > To: list-zshell@lists.ticalc.org
> > Subject: Re: LZ: Screen Reversing...
> > Reply-to: list-zshell@lists.ticalc.org
>
> >
> > > > What might work is the cpl instruction. Hope this helps!
> > > >
> > > > Ben
> > > > shakal@ns.net
> > >
> > > You can just xor the byte with $FF:
> >
> > But that would take 1 extra byte, wouldn't it? (ok, ok, so it won't
> > shatter nations, or anything but if you're planning on like doing it a
> > 1000 times, it counts...)
> >
> >
> > Pyrone
>
> And xor $FF takes 3 more CPU cycles than CPL (which takes 4)!!!!! :)
>
> Ben
> shakal@ns.net
Where did you find how many clock cycles all the commands take?
<pre>
--
Compliments of:
_-_-_-_-_-_-_-_
Alan Bailey
mailto:bailala@mw.sisna.com
IRC:Abalone
Web:http://www.mw.sisna.com/users/bailala/home.htm
</pre>
References: