Hexadecimal Number System

The hexadecimal number system is a radix-16 number system and 16 basic symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. The weights of different digits in a mixed hexadecimal number are 16^0, 16^1, 16^2 etc. for integer value and 16^−1, 16^−2, 16^−3 etc. for fractional value. The decimal equivalent of A, B, C, D, E and F are 10, 11, 12, 13, 14 and 15 respectively. The hexadecimal number system provides a condensed way of representing large binary numbers
stored and processed inside the computer.

The 15’s and 16’s complements are defined with respect to the hexadecimal number system. The 15’s complement is obtained by subtracting each hex digit from 15. For example, the 15’s complement of (2A1)16 would be (D5E)16. The 16’s complement is obtained by adding ‘1’ to the 15’s complement.  The 16’s complement of (2A1)16 would be (D5F)16.

All About Basic Electronics