Under Digital ElectronicsIn binary number system there are only 2 digits 0 and 1, and any number can be represented by these two digits. The arithmetic of binary numbers means the operation of addition, subtraction, multiplication and division. Binary arithmetic operation starts from the least significant bit i.e. from the right most side. We will discuss the different operations one by one in the following article.
• 0 + 0 = 0 • 0 + 1 = 1 • 1 + 0 = 1 • 1 + 1 = 0 ( carry 1 to the next significant bit)
An example will help us to understand the addition process.
Let us take two binary numbers 10001001 and 10010101
The above example of binary arithmetic clearly explains the binary addition operation, the carried 1 is shown on the upper side of the operands.
• 0 - 0 = 0 • 0 - 1 = 1, borrow 1 from the next more significant bit • 1 - 0 = 1 • 1 - 1 = 0
A binary arithmetic example is given to understand the operation more clearly
The operation shows the binary subtraction clearly
Here are also four steps to be followed, which are
0*0=0 1*0=0 0*1=0 1*1=1 (there is no carry or borrow for this)
An example is given
Here 101 is the quotient and 1 is the remainder.
Binary Addition
There are four steps in binary addition, they are written below• 0 + 0 = 0 • 0 + 1 = 1 • 1 + 0 = 1 • 1 + 1 = 0 ( carry 1 to the next significant bit)
An example will help us to understand the addition process.
Let us take two binary numbers 10001001 and 10010101
The above example of binary arithmetic clearly explains the binary addition operation, the carried 1 is shown on the upper side of the operands.
Binary Subtraction
Here are too four simple steps to keep in memory• 0 - 0 = 0 • 0 - 1 = 1, borrow 1 from the next more significant bit • 1 - 0 = 1 • 1 - 1 = 0
A binary arithmetic example is given to understand the operation more clearly
The operation shows the binary subtraction clearly
Binary Multiplication
0*0=0 1*0=0 0*1=0 1*1=1 (there is no carry or borrow for this)
An example is given
Binary Division
Binary division is comprised of other two binary arithmetic operations, multiplication and subtraction; an example will explain the operation more easily.Here 101 is the quotient and 1 is the remainder.
No comments:
Post a Comment