Re: LZ: Screen Reversing...
[Prev][Next][Index][Thread]
> 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
Follow-Ups:
References: