NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
UNIT-1
SESSION OBJECTIVE
At the end of this session , students will be able to
understand the basic principles of Arithmetic Operations.
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic
In 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.
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations
1. Binary addition
2. Binary subtraction
3. Binary multiplication
4. Binary division
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations - Binary addition
There are four rules of binary addition
In fourth case, a binary addition is creating a sum of (1 + 1 = 10) i.e. 0 is
written in the given column and a carry of 1 over to the next column.
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations - Binary addition
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations - Binary Subtraction
There are four rules of binary subtraction
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations - Binary Multiplication
Binary multiplication is simpler than decimal multiplication
because only 0s and 1s are involved. There are four rules of
binary multiplication.
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Binary Arithmetic Operations - Binary Division
Binary division is similar to decimal division. It is called
as the long division procedure
Example
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
References:
• Digital Logic Design, Morries Mano, PHI.
• Digital circuits and design,4th editionn,S. Salivahanan & S. Arivazhagan,Vikas Publising House Pvt. Ltd.
• Digital Logic Design, Morries Mano, PHI
NEHRU INSTITUTE OF TECHNOLOGY
KALIYAPURAM, COIMBATORE
[Approved by AICTE, New Delhi & Affiliated to Anna University]
Department of Computer Science Engineering
Objective Type Questions:
Do the binary arithmetic:
a.10110 + 01101
b.11001 + 00101
c.10110 - 01101
d.11111 - 01011
e.10101 x 111
f.11110 / 100