
0-18
x86 MICROPROCESSORS
687 and 234 and so on. A number in hex form is suffixed with the letter H,
for example, 56H, 8FH, 0AH and so on.
ii) The numbers from 0 to 9 are the same in the decimal and the hexadecimal
system. So, in the forthcoming chapters, you will see that no ‘H’ is added
when writing numbers from 0 to 9, though there is nothing wrong in writing
7H, 8H, 01H and so on.
0.6 | Number Format Conversions
0.6.1 | Conversion from Decimal to Binary
The method is to divide the decimal number by 2 until the quotient is 0. See the tech-
nique illustrated below.
Example 0.3
Find the binary value of 13.
Solution
Divide 13 by 2 repeatedl