CIS 125

04 Binary Subtraction

 

Subtract the two binary values given. Convert the result to decimal.

Note: All values are 8 bits long. Convert the answer to a positive representation where applicable.

 

1.  00001011

-00000101

 

 

 

 

 

 

2.  00011010

-00001100

 

3.  01010101

-00010001

 

 

 

 

 

 

 

 

4.  01000000

-00010000

5.  00101010

-00010010

 

 

 

 

 

 

 

 

6.  00101001

-00010001

 

7.  00011011

-00001101

 

 

 

 

 

 

 

8.  01010011

-01100001

 

9.  01010011

-00110101

 

10.  01100011

-01110010