<html>
  <head>
    <meta content="text/html; charset=ISO-8859-2"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">union {<br>
        unsigned char byte[2];<br>
        struct {<br>
          unsigned char byte1;<br>
          unsigned char byte2;<br>
        }; // tady mozna bude potreba jmeno, ale zalezi to na prekladaci<br>
        unsigned short word;<br>
      } promenna;<br>
      <br>
      muzu pristupovat k promenna.byte[] nebo promenna.byte1 a byte 2,
      zaroven muzu rotovat promenna.word - a bez ukazatelu...<br>
      <br>
      <br>
      Hynek Sladky<br>
      <br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">Dne 10.4.2014 8:31, Miroslav Draxal
      napsal(a):<br>
    </div>
    <blockquote cite="mid:001201cf5486$82c47e20$884d7a60$@cz"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-2">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Text bubliny Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.FormtovanvHTMLChar
        {mso-style-name:"Formátovaný v HTML Char";
        mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML";
        font-family:Consolas;
        color:black;}
span.StylE-mailovZprvy19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextbublinyChar
        {mso-style-name:"Text bubliny Char";
        mso-style-priority:99;
        mso-style-link:"Text bubliny";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ale
            né, tady je to záměr. Mam dva byty v (v unionu struktura
            dvou charu, vím že překladač si je může hodit kam chce, ale
            HiTech ty dva byty drží důsledně vedle sebe) potřebuji k nim
            přistupovat jako k charum pro úsporu místa a hlavně
            rychlosti. Pak to celé potřebuji zarotovat. Takže proto ten
            na int a jednoduše s tím zarotovat a pak zase přístup pouze
            k charům. Ten výsledný kód potom vypadá skoro přesně tak,
            jak bych to udělal v asm. <o:p></o:p></span></p>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>