title: Basic integer assignment
body: <p>Here is what causes me frustration:</p>
  
  <p>We have two integers: the one is of type <code>int16_t</code> and the other is <code>int8_t</code>. I have initialized both variables as follows:</p>
  
  <pre><code>int8_t short_int = 250    //This equals -6, and its binary representation is 0b1111 1010
  </code></pre>
  
  <p>So far so good. </p>
  
  <pre><code>int16_t my_int = short_int  //as we already know short_int is 0b1111 1010
  </code></pre>
  
  <p>For me, my_int should equal to 0b1111 1010 right? As 16bit integer the value 
  0b1111 1010 has a decimal representation of 250. OK, but it doesn't. </p>
  
  <p>Printing the value of my_int I get -6 which in binary representation is 0b1111 1111 1111 1010 <strong>totally different</strong> from <code>short_int</code> as a binary. </p>