L-4 Computer Arithmetic
L-4 Computer Arithmetic
◼ Electronic components operate in binary mode (can only indicate two states –
ON (1) or OFF (0)
◼ Binary number system has only two digits (0 and 1), and is suitable for
expressing two possible states
◼ In binary system, computer circuits only have to handle two binary digits
rather than ten decimal digits causing:
◼ Simpler internal circuit design
◼ Less expensive
◼ More reliable circuits
◼ Example 3:
Binary Multiplication
◼ Example 4:
Binary Division
◼ Table for binary division is as follows:
1. 0 ÷ 0 = Divide by zero error
2. 0÷1=0
3. 1 ÷ 0 = Divide by zero error
4. 1÷1=1
35
Addition/Subtraction of Numbers in
2’s Complement Notation…
Key Words/Phrases
◼ Computer arithmetic