<?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; LOBYTE</title>
	<atom:link href="http://www.bizzymicbizness.com/cplusplus/tag/lobyte/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 Double-Word</title>
		<link>http://www.bizzymicbizness.com/cplusplus/representing-a-double-word</link>
		<comments>http://www.bizzymicbizness.com/cplusplus/representing-a-double-word#comments</comments>
		<pubDate>Wed, 09 Sep 2009 10:02:15 +0000</pubDate>
		<dc:creator>BMB</dc:creator>
				<category><![CDATA[Variable and Data Types]]></category>
		<category><![CDATA[Binary Number]]></category>
		<category><![CDATA[Bits]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Decimal Values]]></category>
		<category><![CDATA[Double-Word]]></category>
		<category><![CDATA[Hexadecimal Value]]></category>
		<category><![CDATA[HI Byte]]></category>
		<category><![CDATA[HI Word]]></category>
		<category><![CDATA[HIBYTE]]></category>
		<category><![CDATA[High Order Byte]]></category>
		<category><![CDATA[High Order Word]]></category>
		<category><![CDATA[HIWORD]]></category>
		<category><![CDATA[LO Byte]]></category>
		<category><![CDATA[LO Word]]></category>
		<category><![CDATA[LOBYTE]]></category>
		<category><![CDATA[Low Order Byte]]></category>
		<category><![CDATA[Low Order Word]]></category>
		<category><![CDATA[LOWORD]]></category>

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


A double-word (Image-1)

Is a group of two consecutive Words
A double-word combines 4 bytes, or 8 nibbles, or 32 bits


The bits

Counted from right to left, start at 0 and end at 31 (Image-1)


(Image-2)
 

Considered as a group of 32 bits (Image-2)

The most right bit, bit 0, is called the Low Order bit or LO bit or LOBIT
The [...]]]></description>
			<content:encoded><![CDATA[<p>(Image-1)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-333" title="Double-word" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/09/Double-word.jpg" alt="Double-word" width="574" height="143" /></p>
<p><br class="blank" /><br />
A double-word (Image-1)</p>
<ul>
<li>Is a group of two consecutive Words</li>
<li>A double-word combines 4 bytes, or 8 nibbles, or 32 bits</li>
</ul>
<p><br class="blank" /><br />
The bits</p>
<ul>
<li>Counted from right to left, start at 0 and end at 31 (Image-1)</li>
</ul>
<p><br class="blank" /><br />
(Image-2)</p>
<p style="text-align: center;"> <img class="aligncenter size-full wp-image-331" title="A double-word is a group of two consecutive Words" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/09/A-double-word-is-a-group-of-two-consecutive-Words.jpg" alt="A double-word is a group of two consecutive Words" width="532" height="226" /></p>
<p><br class="blank" /><br />
Considered as a group of 32 bits (Image-2)</p>
<ul>
<li>The most right bit, bit 0, is called the Low Order bit or LO bit or <strong>LOBIT</strong></li>
<li>The most left bit, bit 31, is called the 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 />
Considered as a group of 4 bytes (Image-2)</p>
<ul>
<li>The group of the first 8 bits (from bit 0 to bit 7), which is the right byte, is called the Low Order Byte, or LO Byte. It is sometimes referred to as <strong>LOBYTE</strong></li>
<li>The group of the last 8 bits (from bit 24 to bit 31), which is the left byte, is called the High Order Byte, or HI Byte or <strong>HIBYTE</strong></li>
<li>The other bytes are called by their positions</li>
</ul>
<p><br class="blank" /><br />
Considered as a group of 2 words (Image-2)</p>
<ul>
<li>The group of the right 16 bits, or the right Word, is called the Low Order Word, or LO Word, or <strong>LOWORD</strong></li>
<li>The group of the left 16 bits, or the left Word, is called the High Order Word, or HI Word, or <strong>HIWORD</strong></li>
</ul>
<p><br class="blank" /><br />
The minimum binary number you can represent with a double-word</p>
<ul>
<li>Is 0</li>
</ul>
<p><br class="blank" /><br />
The minimum decimal value of a double-word</p>
<ul>
<li>Is 0</li>
</ul>
<p><br class="blank" /><br />
To find out the maximum decimal value of a double-word</p>
<ul>
<li>You can use the base 2 formula giving a 1 value to each bit (B-1):</li>
</ul>
<p><br class="blank" /><br />
Example of (B-1)</p>
<ul>
<li>1*2<sup>31</sup>+1*2<sup>30</sup>+1*2<sup>29</sup> + 1*2<sup>28</sup> + 1*2<sup>27</sup> + 1*2<sup>26</sup> + 1*2<sup>25</sup> + 1*2<sup>24</sup> + 1*2<sup>23</sup> + 1*2<sup>22</sup> + 1*2<sup>21</sup> + 1*2<sup>20</sup> + 1*2<sup>19</sup> + 1*2<sup>18</sup> + 1*2<sup>17</sup> + 1*2<sup>16</sup> + 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>
<p>= 2,147,483,648 + 1,073,741,824 + 536,870,912 + 268,435,456 + 134,217,728 + 67,108,864 + 33,554,432 + 16,777,216 + 8,388,608 + 4,194,304 + 2,097,152 + 1,048,576 + 524,288 + 262,144 + 131,072 + 65,536 + 32,768 + 16,384 + 8,192 + 4,096 + 2,048 + 1,024 + 512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1</p>
<p>= 4,286,578,708</li>
</ul>
<p><br class="blank" /><br />
The minimum hexadecimal value you can store in a double-word</p>
<ul>
<li>Is 0&#215;00000000000000000000000000000000 which is same as 0&#215;0</li>
</ul>
<p><br class="blank" /><br />
To find out the maximum hexadecimal number you can represent with 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-347" title="The maximum hexadecimal number you can store in a double-word" src="http://www.bizzymicbizness.com/cplusplus/wp-content/uploads/2009/09/The-maximum-hexadecimal-number-you-can-store-in-a-double-word.jpg" alt="The maximum hexadecimal number you can store in a double-word" width="499" height="374" /></p>
<p><br class="blank" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bizzymicbizness.com/cplusplus/representing-a-double-word/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
	</channel>
</rss>

