BINARY/DECIMAL PROBLEMS
Do the following conversions:
DECIMAL |
BINARY |
HEXADECIMAL |
45 |
||
10101111 |
||
7F |
||
54 |
||
01100011 |
||
F0 |
||
119 |
Addition:
01001011 |
01010010 |
01100110 |
11001011 |
01001011 |
10101010 |
00101100 |
00010011 |
00100110 |
00101000 |
00001101 |
01010101 |
Subtraction:
01001011 |
01010010 |
01100110 |
11001011 |
01001011 |
10101010 |
00101100 |
00010011 |
00100110 |
00101000 |
00001101 |
01010101 |
Prove your answer are correct by converting everything to decimal:
Addition:
Subtraction: