0% found this document useful (0 votes)
2 views

Binary Arithmetic DlCOA

The document discusses binary arithmetic, focusing on addition, subtraction, multiplication, and division, as well as data representation methods like sign magnitude and 1's and 2's complement. It explains how to represent negative numbers using 2's complement, detailing the steps to convert a positive number into its negative form. Additionally, it highlights the similarities between binary addition and decimal addition, emphasizing the significance of the binary system in computer operations.

Uploaded by

2024.soham.more
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Binary Arithmetic DlCOA

The document discusses binary arithmetic, focusing on addition, subtraction, multiplication, and division, as well as data representation methods like sign magnitude and 1's and 2's complement. It explains how to represent negative numbers using 2's complement, detailing the steps to convert a positive number into its negative form. Additionally, it highlights the similarities between binary addition and decimal addition, emphasizing the significance of the binary system in computer operations.

Uploaded by

2024.soham.more
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 27

Binary Arithmetic: Addition, subtraction, multiplication,

and division, sign


magnitude, 1’s and 2’s complement method of data
representation, subtraction
using 1’s and 2’s complement method
Sign Magnitude Representation
• But the representation of the negative
number is different. For example, if we
want to represent -34 in 2’s complement
form then

1. Write the number corresponding to


+34.
2. Starting from Least Significant Bit
(LSB), just copy all the bits until the
first 1 is encountered in the number.
3. After the first ‘1’ is encountered,
invert all the 1s in the number with 0s
and 0s in the number with 1s
(including the sign bit)
4. The resultant number is 2’s
complement representation of the
number -34.
What is Binary Addition

The binary addition operation works similarly to the base 10 decimal


system, except that it is a base 2 system. The binary system consists of
only two digits, 1 and 0. Most of the functionalities of the computer
system use the binary number system. The binary code uses the digits 1’s
and 0’s to make certain processes turn off or on. The process of the
addition operation is very familiar to the decimal system by adjusting to
the base 2.

You might also like