title: Delphi bitwise operation question
body: <p>F0 7D 00 C8 00
  ->11110000 01111101 00000000 11001000 00000000</p>
  
  <p>First 4 bits 1111=15 means, next 30 bits are used to store 2 values,15 bits each,
  a=000001111101000=1000,b=000001100100000=800 (Signed-bit value)</p>
  
  <p>1111000001111101000000001100100000 is paded with '000000' so it'll be 5 bytes.</p>
  
  <p>How to make such a delphi procedure to change the value a &amp; b,</p>
  
  <p>procedure setBit(a,b:Integer); </p>