then combine accordingly like that:

Code:
a_left=(byte_var & %11111000)>>3
to make it right justified if needed.

Ioannis