Specifications

Appendix B - Numeric Systems
which proves the accuracy of our action.
In order to get a decimal equivalent of a hexadecimal number, we need to multiply each digit of a
number with number 16 which is gradated by the position of that digit in hexadecimal number.
Example:
Addition is, like in two preceding examples, performed in a similar manner.
Example:
We need to add corresponding number digits. If their sum is equal 16, write 0 and transfer one to
the next higher place. If their sum is greater than 16, write value above and transfer 1 to the next
higher digit.Eg. if sum is 19 (19=16+3) write 3 and transfer 1 to the next higher place. By
checking, we get 14891 as the first number, and second is 43457. Their sum is 58348, which is a
number $E3EC when it is transferred into a decimal numeric system. Subtraction is an identical
process to previous two numeric systems. If the number we are subtracting is smaller, we borrow
from the next place of higher value.
Example:
By checking this result, we get values 11590 for the first number and 5970 for the second, where
their difference is 5620, which corresponds to a number $15F4 after a transfer into a decimal
numeric system.
Conclusion
Binary numeric system is still the one that is most in use, decimal the one that's easiest to
understand, and a hexadecimal is somewhere between those two systems. Its easy conversion to
a binary numeric system and easy memorization make it, along with binary and decimal systems,
one of the most important numeric systems.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/B_Dodatak.htm (5 of 6) [4/2/2003 16:19:30]