BINARY ARITHMATIC
And now we are going to learn how addition , subtraction , multiplication and division in binary arithmatic .
Addition :
Process
|
Answer
|
Carry Value
|
0 + 0
|
0
|
0
|
0 + 1
|
1
|
0
|
1 + 0
|
1
|
0
|
1 + 1
|
0
|
1
|
1(1)1
+ 1 1
1 1 0
Subtraction :
Process
|
Answer
|
Borrow Value
|
0 – 0
|
0
|
0
|
0 – 1
|
1
|
1
|
1 – 0
|
1
|
0
|
1 – 1
|
0
|
0
|
Example :
1 1
- 0 1
1 0
Multiplication :
Process
|
Answer
|
0 x 0
|
0
|
0 x 1
|
0
|
1 x 0
|
0
|
1 x 1
|
1
|
Example :
1 1
x 1 1
1 1
1 1
1 0 0 1
Division :
* Same procedure as division in decimal number .
Example :
1 1
1 0 | 1 1 0
- 1 0
0 1 0
- 1 0
0 0
No comments:
Post a Comment