<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C ++ &#187; Hexadecimal Numbers</title>
	<atom:link href="http://www.bizzymicbizness.com/cplusplus/tag/hexadecimal-numbers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bizzymicbizness.com/cplusplus</link>
	<description>All about C++</description>
	<lastBuildDate>Mon, 19 Oct 2009 12:38:17 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Representing a Word</title>
		<link>http://www.bizzymicbizness.com/cplusplus/representing-a-word</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/representing-a-word#comments</comments>
		<pubDate>Mon, 31 Aug 2009 07:03:08 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Variable and Data Types]]></category>
		<category><![CDATA[Binary Value]]></category>
		<category><![CDATA[Hexadecimal Numbers]]></category>
		<category><![CDATA[Hexadecimal Value]]></category>
		<category><![CDATA[HIBIT]]></category>
		<category><![CDATA[HIBYTE]]></category>
		<category><![CDATA[LOBIT]]></category>
		<category><![CDATA[LOBYTE]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=259</guid>
		<description><![CDATA[(Image-1)


A word

Is a group of 16 consecutive bits


The bits

Are counted from right to left starting at 0 (Image-1):


Considered as a group of 16 bits (Image-1)

The most right bit of a word, bit 0, is called the least significant bit or Low Order bit or LO bit or LOBIT
The most left bit, bit 15, is called [...]]]></description>
			<content:encoded><![CDATA[<p>(Image-1)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-260" title="Word" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/09/Word.jpg" alt="Word" width="575" height="175" /></p>
<p><br class="blank" /><br />
A word</p>
<ul>
<li>Is a group of 16 consecutive bits</li>
</ul>
<p><br class="blank" /><br />
The bits</p>
<ul>
<li>Are counted from right to left starting at 0 (Image-1):</li>
</ul>
<p><br class="blank" /><br />
Considered as a group of 16 bits (Image-1)</p>
<ul>
<li>The most right bit of a word, bit 0, is called the least significant bit or Low Order bit or LO bit or <strong>LOBIT</strong></li>
<li>The most left bit, bit 15, is called the most significant bit or High Order bit or HI bit or <strong>HIBIT</strong></li>
<li>The other bits are referred to using their positions: bit 1, bit 2, bit 3, etc</li>
</ul>
<p><br class="blank" /><br />
(Image-2)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-261" title="Word is made of two bytes" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/08/Word-is-made-of-two-bytes.jpg" alt="Word is made of two bytes" width="577" height="194" /></p>
<p><br class="blank" /><br />
Considering that a word is made of two bytes (Image-2)</p>
<ul>
<li>The group of the right 8 bits is called the least significant byte or Low Order byte or LO byte or <strong>LOBYTE</strong></li>
<li>The other group is called the most significant byte or High Order byte or HI byte or <strong>HIBYTE</strong></li>
</ul>
<p><br class="blank" /><br />
The most fundamental representation of a word in binary format</p>
<ul>
<li>Is 0000000000000000 (B-1)</li>
</ul>
<p><br class="blank" /><br />
(B-1) To make it easier to read</p>
<ul>
<li>You can group bits in 4, like this: 0000 0000 0000 0000 (B-2)</li>
</ul>
<p><br class="blank" /><br />
(B-2) The minimum binary value represented by a word</p>
<ul>
<li>Is 0000 0000 0000 0000</li>
</ul>
<p><br class="blank" /><br />
(B-2) The maximum binary value represented by a word</p>
<ul>
<li>Is 1111 1111 1111 1111</li>
</ul>
<p><br class="blank" /><br />
The minimum decimal value of a word</p>
<ul>
<li>Is 0</li>
</ul>
<p><br class="blank" /><br />
To find out the maximum decimal value of a word</p>
<ul>
<li>You can use the base 2 formula, filling out each bit with 1 (B-3):</li>
</ul>
<p><br class="blank" /><br />
Example of (B-3)</p>
<ul>
<li>1*2<sup>15</sup>+1*2<sup>14</sup>+1*2<sup>13</sup> + 1*2<sup>12</sup> + 1*2<sup>11</sup> + 1*2<sup>10</sup> + 1*2<sup>9</sup> + 1*2<sup>8</sup> + 1*2<sup>7</sup> + 1*2<sup>6</sup> + 1*2<sup>5</sup> + 1*2<sup>4</sup> + 1*2<sup>3</sup> + 1*2<sup>2</sup> + 1*2<sup>1</sup> + 1*2<sup>0</sup></li>
<p>= 32768 + 16384 + 8192 + 4096 + 2048 + 1024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1<br />
= 65535</ul>
<p><br class="blank" /><br />
The minimum hexadecimal value you can store in a word</p>
<ul>
<li>Is 0&#215;0000000000000000 (B-4)</li>
</ul>
<p><br class="blank" /><br />
(B-4) This is also represented</p>
<ul>
<li>As 0&#215;00000000, or 0&#215;0000, or 0&#215;0</li>
<li>All these numbers produce the same value, which is 0&#215;0</li>
</ul>
<p><br class="blank" /><br />
 To find out the maximum hexadecimal number you can store in a word</p>
<ul>
<li>Replace every group of 4 bits with an f or F (Image-3)</li>
</ul>
<p><br class="blank" /><br />
(Image-3)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-262" title="The maximum hexadecimal number you can store in a word" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/08/The-maximum-hexadecimal-number-you-can-store-in-a-word.jpg" alt="The maximum hexadecimal number you can store in a word" width="532" height="477" /></p>
<p><br class="blank" /><br />
Counting on base and extending the table we used earlier</p>
<ul>
<li>We would get (Image-4)</li>
</ul>
<p><br class="blank" /><br />
(Image-4)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-263" title="Counting on base and extending the table" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/09/Counting-on-base-and-extending-the-table.jpg" alt="Counting on base and extending the table" width="570" height="291" /></p>
<p><br class="blank" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/representing-a-word/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Hexadecimal System</title>
		<link>http://www.bizzymicbizness.com/cplusplus/the-hexadecimal-system</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/the-hexadecimal-system#comments</comments>
		<pubDate>Fri, 28 Aug 2009 02:52:25 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Variable and Data Types]]></category>
		<category><![CDATA[Alphabetic Characters]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Hexadecimal Numbers]]></category>
		<category><![CDATA[Hexadecimals]]></category>
		<category><![CDATA[Legal Hexadecimals]]></category>

		<guid isPermaLink="false">http://www.bizzymicbizness.com/cplusplus/?p=152</guid>
		<description><![CDATA[The hexadecimal system uses sixteen (16) symbols to represent a number

Since the Latin language consists of only 10 digits, we cannot make up new ones
The hexadecimal system uses alphabetic characters
After counting from 0 to 9, the system uses letters until it gets 16 different values
(B-1) The hexadecimal system counts as follows:


Example of (B-1)

0, 1, 2, [...]]]></description>
			<content:encoded><![CDATA[<p>The hexadecimal system uses sixteen (16) symbols to represent a number</p>
<ul>
<li>Since the Latin language consists of only 10 digits, we cannot make up new ones</li>
<li>The hexadecimal system uses alphabetic characters</li>
<li>After counting from 0 to 9, the system uses letters until it gets 16 different values</li>
<li>(B-1) The hexadecimal system counts as follows:</li>
</ul>
<p><br class="blank" /><br />
Example of (B-1)</p>
<ul>
<li>0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, and f</li>
<li>0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F</li>
</ul>
<p><br class="blank" /><br />
The letters used</p>
<ul>
<li>(B-2) a, b, c, d, e, and f, or their uppercase equivalents A, B, C, D, E, and F</li>
<li>(B-2) To produce a number, you use a combination of these sixteen symbols</li>
</ul>
<p><br class="blank" /><br />
Example of (B-2)</p>
<ul>
<li>Examples of hexadecimal numbers are 293, 0, df, a37, c23b34, or ffed54</li>
</ul>
<p><br class="blank" /><br />
To express the difference between a decimal number and a hexadecimal</p>
<ul>
<li>(B-3) One, each hexadecimal number will start with 0x or 0X</li>
<li>(B-3) The number will be followed by a valid hexadecimal combination</li>
<li>(B-3) The letter can be in uppercase or lowercase</li>
</ul>
<p><br class="blank" /><br />
Example of (B-3)</p>
<ul>
<li>Legal Hexadecimals: 0&#215;273, 0xfeaa, 0Xfe3, 0&#215;35FD, 0&#215;32F4e</li>
<li>Non-Hex Numbers: 0686, ffekj, 87fe6y, 312</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/the-hexadecimal-system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

