|
Refers to the base-16 number system, which consists of 16 unique symbols: the numbers 0 to 9 and the letters A to F. For example, the decimal number 15 is represented as F in the hexadecimal numbering system. The hexadecimal system is useful because it can represent every byte (8 bits) as two consecutive hexadecimal digits. It is easier for humans to read hexadecimal numbers than binary numbers. To convert a value from hexadecimal to binary, you merely translate each hexadecimal digit into its 4-bit binary equivalent. Hexadecimal numbers have either an 0x prefix or an h suffix. For example, the hexadecimal number 0x3F7A translates to the following binary number: 0011 1111 0111 1010
|
 Data Representation This is Chapter 1 of Randall Hyde's book, "Art of Assembly Language." It describes the binary and hexadecimal numbering systems, binary data organization (bits, nibbles, bytes, words, and double words), signed and unsigned numbering systems, arithmetic, logical, shift, and rotate operations on binary values, bit fields and packed data, and the ASCII character set.
Decimal to Hexadecimal Conversion Table This chart converts the numbers 1-255 from decimal to hexadecimal form.
Hexadecimal Color Codes A large hexidecimal chart shows the base-16 codes that represent the red, blue and green values in colors for the Web.
|
|