title: Display hex values on LCD using 8051 MCU
body: <p>I have calculated <code>TH1=0xA5,TL1=0xFE</code> by ultrasonic sensor on. I want to display it on a LCD (16*2) like <code>A5FE</code> using an 8051 MCU. My problem is that I'm using an integer value for displaying on the LCD.</p>
  
  <p>Now I want to create a variable <code>a</code> which will contain the value <code>0xA5FE</code>, that is <code>a=0xA5FE</code>. How can I combine the value of TH1 and TL1?</p>