High-byte conversion (for example, 0111 0011):
- Convert the right-justified binary high byte to hexadecimal.
- From hexadecimal, multiply the first number by 160 = 1 and the
second number by 161 = 16.
- The sum equals the decimal
equivalent: 0111 0011b → 73h → (3 × 160) + (7 × 161) =
115
Low-byte conversion (for example, 0111 0000):
- To convert the left-justified
binary low-byte to decimal, use bits 7 through 4 and ignore bits 3 through 0
because these bits do not affect the value of the number.
- 0111b → (0 × 1/2)1 + (1 × 1/2)2 + (1 ×
1/2)3 + (1 × 1/2)4 = 0.4375