Re: A83: NOW I REALLY DON'T KNOW WHAT'S GOING ON


[Prev][Next][Index][Thread]

Re: A83: NOW I REALLY DON'T KNOW WHAT'S GOING ON




The more you program, the more you see.
gotta love asm, now how could you do that in a HLL? not that easily!

-----Original Message-----
From: James Matthews <matthews@tkb.att.ne.jp>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Thursday, August 20, 1998 1:54 PM
Subject: Re: A83: NOW I REALLY DON'T KNOW WHAT'S GOING ON


>
>> It's quite simple actually, lets say a=5. Then a-1=4. Since 4=0100 in
>> binary, you exclusive or the 0 bit and get 0101b. now add 1 and get 0110b
>> which is 6. Let's say a=6. Then a-1=5 which is 0101 in binary. xor the 0
>> bit, get 0100b. Add 1 and now we have 0101b which is 5.
>
>How t.f. did you figure that out?!  Is it just practice?  Damn, that's
>cool...
>
>Sorry, kind of a pointless post (mine), but...:)
>
>James.
>