NumOut = Oxdata2 & %01111111
NumOut.7 = Oxdata1.0
NumOut.8 = Oxdata1.1

..... is one way of doing it.