0% found this document useful (0 votes)
36 views10 pages

MEFA Unit-5

The document discusses arithmetic operations in different number systems: 1) Binary addition follows four rules: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, 1 + 1 = 10. Binary subtraction involves borrowing from the left bit if needed, with a borrow giving a value of 2. 2) Octal addition is like decimal addition, except if a column sum is greater than 7, 8 is subtracted from the result and 1 is carried. Octal does not have digits 8 or 9, so 810 = 108 and 910 = 118.

Uploaded by

Patnana Aruna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views10 pages

MEFA Unit-5

The document discusses arithmetic operations in different number systems: 1) Binary addition follows four rules: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, 1 + 1 = 10. Binary subtraction involves borrowing from the left bit if needed, with a borrow giving a value of 2. 2) Octal addition is like decimal addition, except if a column sum is greater than 7, 8 is subtracted from the result and 1 is carried. Octal does not have digits 8 or 9, so 810 = 108 and 910 = 118.

Uploaded by

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

NUMBER SYSTEM ARITHMETIC

Binary Addition
Adding two binary numbers together is easy,
keeping in mind the following four addition
rules:
(1) 0 + 0 = 0
(2) 0 + 1 = 1
(3) 1 + 0 = 1
(4) 1 + 1 = 10
BINARY SUBTRACTION

Just like subtraction in any other base


◦ Minuend 10110
◦ Subtrahand - 10010
◦ Difference 00100
And when a borrow is needed. Note that the
borrow gives us 2 in the current bit position.

5
When there is no borrow into the msb position,
then the subtrahend in not larger than the
minuend and the result is positive and correct.
If a borrow into the msb does occur, then the
subtrahend is larger than the minuend.

6
Octal Addition

Octal addition is performed just like decimal


addition, except that if a column of two addends
produces a sum greater than 7.
you must subtract 8 from the result, put down that
result, and carry the 1.
Remember that there are no such digits as "8"
and "9" in the octal system, and that 810 = 108 , 910
= 118, etc.

You might also like