Saturday, December 3, 2016

SUBTRACTION


DECIMAL

It just same with usually operation..


BINARY

Thus the rules of binary subtraction are as follows:


0 - 0 = 0
1 - 0 = 1
1 - 1 = 0
0 - 1 = 1 with a borrow of 1

HEXADECIMAL

The subtraction of hexadecimal  numbers follow the same rules as the subtraction of numbers in any other number system. The only variation is in borrowed number. In the decimal system, you borrow a group of 1010. In the binary system, you borrow a group of 210. In the hexadecimal system you borrow a group of 1610.

Example

hexdecimal Substraction Example

Binary Subtraction Table

-01
001
110

No comments:

Post a Comment