Hi,To add a little more to this topic, for the general inlightenment of those who don't already know:
In Intel assembly language, a hexadecimal number must have an "h" at the end, an octal number must end with a "o", and a binary number with a "b". Without any of these, the assembler assumes the number is decinal. Further, a hexadecimal number that begins with any of the digits "a" to "F" must begin with a zero as well as ending with an "h", otherwise the assembler tries to interpret it as a label or variable.
All the best, Ian Ian D. Nichols, Toronto, Canada----- Original Message ----- From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Wednesday, February 20, 2008 1:43 PM Subject: Re: what is Hex?
By the way, I think someone said that a hex number starts with 0. I don't think that's quite right. C derived languages typically distinguish a hex number with a preceding 0x, but the number is what follows the x. Other languages or contexts use different conventions to distinguish hex from decimal, e.g., Visual Basic uses a preceding &h sequence and Unicode uses a preceding u. In other contexts, the number is understood to be hex, so no additional prefix or suffix is needed. Here is a long Wikipedia article on hex http://en.wikipedia.org/wiki/Hexadecimal Cheers, Jamal __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind