If there is no end around carry, the answer is negative, and the
answer is in the l's complement form. Taking the l's complement
and adding the negative prefix will give the answer, as the next
example shows.
Example 17 Subtract 1101 from 1001.
1001 9
0010 l's complement-13
Ton
~^4
The answer is the l's complement of 1011 = -0100 = -4.
(e) The 2's complement
This is another method of subtracting binary numbers. The 2's
complement of a binary number is found by first finding the l's
complement ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.