Re: LZ: Programming Question, New Email


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

Re: LZ: Programming Question, New Email



Oi!  my mistake.  i guess thats' what happen's when you never get the
z80 books from Zilog :/.

-mike

On Tue, 08 Jul 1997 22:09:45 EDT, you wrote:

>NOT "flips" the bytes
>NEG is 2's complement
>
>On Wed, 09 Jul 1997 00:29:01 GMT mikep@anet-dfw.com (Michael) writes:
>>i don't think your way is correct.  i think it would be:
>>
>>sub b
>>neg
>>inc a
>>
>>i think that is right.  you have to do the 2's complement of the
>>number, not just flip all the bits.
>>>sub b
>>>neg 
>>>
>>>the same as storing (b-a) into register a?
>
>Jared Ivey
>Unibomer@Juno.com
>Ham Call Sign: KF4BXL
>The Unibomer's Shack:
>     http://www.geocities.com/SiliconValley/Vista/7342/
> _______________________
>|  Florida Times Union  |
>|=======================|
>| Unibomer Strikes Again|
>|   ~~~~~~~~~~~~~~~~~~~ |
>| ~~~~~~~~~~~~~~~~~~~~~ |
>| ~~~~~~~~~~~~~~~~~~~~~ |
>| ~~~~~~~~~~~~~~~~~~~~~ |
>| ~~~~~~~~~~~~~~~~~~~~• |
>|_______________________|
>


References: