Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4746

Shifting Bits

$
0
0
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.

Viewing all articles
Browse latest Browse all 4746

Trending Articles