× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: how to create unsigned hexadecimal initial value
  • From: "Peter Lunde" <peter_lunde@xxxxxxxxxxx>
  • Date: Thu, 24 Aug 2000 23:58:20 EDT

Richard et al:

For signed numbers, X"FFFFFFFF" is -1.
X"80000000" is a very large negative number.
So the number line goes
X"80000000" to X"FFFFFFF" to x"00000000" to x"7FFFFFFF"

For unsigned numbers, the line should go
X"00000000" to X"FFFFFFFF".

If we think about smaller numbers (one byte),
then signed numbers range from -128 to 0 to 127
and unsigned numbers range from 0 to 255.

Peter.

>From: "Richard Jackson" <richardjackson@richardjackson.net>
>Reply-To: MI400@midrange.com
>To: <MI400@midrange.com>
>Subject: RE: how to create unsigned hexadecimal initial value
>Date: Thu, 24 Aug 2000 21:22:52 -0600

<snip>

>I haven't had to do this in a long time - is H'80000000' equal to -1
>or some very large negative number?
>
>Richard Jackson
>mailto:richardjackson@richardjackson.net
>http://www.richardjacksonltd.com
>Voice: 1 (303) 808-8058
>Fax:   1 (303) 663-4325

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.