Binary Addition and Subtraction(1.4.1 d) Flashcards
1
Q
Binary addition
A
0 1 0 1 1 1 0 1
1 0 0 0 0 1 1 0 +
1 1 1 = carries
————————
1 1 1 0 0 0 1 1
2
Q
Binary subtraction
A
0110 1011 - 0010 1011
0010 1011
flip = 1101 0100
add 1 = 1101 0101
0 1 1 0 1 0 1 1
1 1 0 1 0 1 0 1+
1 1 1 1 1 1 1 = carries
————————
0 1 0 0 0 0 0 0