A83: Re: Linus Regarding last message


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

A83: Re: Linus Regarding last message




actually, -2 = 254 when you're talking about 8 bit hex.  the values "wrap"
around when you get below 0 or above 255.  For example, 257 = 2 and 254
= -2.

-Dan

-----Original Message-----
From: Bruce Link <bjelink@yahoo.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Thursday, October 08, 1998 9:48 PM
Subject: A83: Linus Regarding last message


>
>I read your last message stating that the cp does a temporary subtract. I
>already firmly understand that... but in your message you seem to
>contradict yourself you state at 0-2=-2.
>That makes sense but the hex after words (feh) is 254. Needless 254 is not
>equal to -2.. or is it?? Therefore the result would be positive. Wouldn't
>it???
>
>Bruce