Posted: Sun Feb 20, 2005 11:00 am Post subject: Binary Subtraction
This program took me a shorter time to make because I knew what I was doing now.
This uses ones and twos compliment to subtract digits, and as so is inherently only able to subtract a maximum of 7 bits (127 in decimal).
No shortcuts, and this one is relatively well error trapped, it will tell you if you overflowed, and if you entered a wrong answer of some sort. The binary input section is not error trapped, only 1s and 0s may be inputed or it will crash.