Combine bits value
Posted on 2004-03-28
i have two hex numbers :
0x1234 represents the low 16 bits value of milleage covered by a plane.
0x12 represent bits 16-23 of the milleage covered by a plane.
Given the above values, how do I combine both to give the actual value of milleage covered by the plane ? It should be signed value.