Compute the following subtraction in hexadecimal form AABB
     Compute the following subtraction in hexadecimal form: AABB - DCF.  Represent the exercise and its solution in standard binary form.  (b) Compute the following addition in 2s complement binary form with 6 bits: 110110 + 111010.  Represent the exercise and its solution in decimal form. 
  
  Solution
1. (a) 1) In the hexadecimal system we borrow a group of 1610. Thus the given problem is
AABB16 - DCF16 = 9CEC16 16 borrow
AABB = 4370710
- 0DCF = 353510
9CEC = 4017210
2) Above numbers in standard binary form is obtained by replacing each hex bits by its equivalen 4 binary bits.
AABB16 = 1010 1010 1011 10112
0DCF16 = 0000 1101 1100 11112
9CEC16 = 1001 1100 1110 11002
(b) 1) 2s complement binary addition:
Since both are not negative integers, we don\'t have to use two\'s complement for addition.
1101102 + 1110102 = 11100002
2) Above exercise in decimal form is 5410 + 5810 = 11210

