Arithmetic Operations, Logic Operations
Arithmetic Operations, Logic Operations
Binary arithmetic is an essential part of various digital systems. You can add, subtract, multiply, and divide
binary numbers using various methods. These operations are much easier than decimal number arithmetic
operations because the binary system has only two digits: 0 and 1.
Binary additions and subtractions are performed as same in decimal additions and subtractions. When we
perform binary additions, there will be two outputs: Sum (S) and Carry (C).
1. There are four rules for binary addition:
Input Output
1 0
0 1
NAND gate
The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical operation
"and" followed by negation. The output is "false" if both inputs are "true." Otherwise, the output is "true."