0 –
0 = 0
1 –
0 = 1
0 –
1 = 1

One’s Complement Addition and Subtraction

Example of Number Presentation :
The table show that all possible value is in 4-bit system:
No.
|
Positive binary (+)
|
Negative binary(-)
|
0
|
0000
|
1111
|
1
|
0001
|
1110
|
2
|
0010
|
1101
|
3
|
0011
|
1100
|
4
|
0100
|
1011
|
5
|
0101
|
1010
|
6
|
0110
|
1001
|
7
|
0111
|
1000
|
8
|
1111
|
0000
|
Two’s Complement Addition and Subtraction



Example :
Signal overflow :



-lee Man
0 comments:
Post a Comment