Hello All: Could someone explain how to isolate just the 10 Most significant bits from a word variable?.

Example:%1111111100000000 (16 bit word read from device)


I would like to get this:

My10Bits=%1111111100 (10 bits actual data)


I am using PicBasic-Pro 2.50
Thanks in advance
Bob C.