Hi All

Can someone please help me.

Ive got 20 bits of data that i shiftin the following way.

Temp var word
TempB var word
TempC var Long

Shiftin B3,B2,MSBPost,[Temp\16,TempB\4]

How do i get Temp & TempB into Variable TempC so that TempC would only contain my 20 bits of data.