Re: LZ: Programming Question, New Email
[Prev][Next][Index][Thread]
Re: LZ: Programming Question, New Email
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|
| ~~~~~~~~~~~~~~~~~~~ |
| ~~~~~~~~~~~~~~~~~~~~~ |
| ~~~~~~~~~~~~~~~~~~~~~ |
| ~~~~~~~~~~~~~~~~~~~~~ |
| ~~~~~~~~~~~~~~~~~~~~• |
|_______________________|
Follow-Ups:
References: