0% found this document useful (0 votes)
15 views4 pages

04.calculation With Binary Number

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)
15 views4 pages

04.calculation With Binary Number

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/ 4

Digital technology

Numbering systems
Jari Hautamäki
Numbering systems
Calculations with binary numbers, addition
• In binary system addition is performed just like in decinal system

• E.g.: 0+0=0, 1+0=1, 1+1=10 (two), 1+1+1=11 (three) ja 1+1+1+1=100 (four)

• E.g.: Add numbers 1010112+1001112

12.1.2022 © Jari Hautamäki


Calculation with binary numbers, addition
• If the state for addition is limited, e.g. accu (data storage) in microprocessor
-> an overflow in addition occurs
• If overflow is to be observed
• The information on this must be saved somewhere
• Microprocessor overflow is observed in settling of state ticket.(CARRY bit) .

• E.g. reserved state for calculation 6 bits 1010112 + 1001112 -> overflow?

12.1.2022 © Jari Hautamäki


Exercises
A=10112, B=01012, C=11002

4. Calculate
a) A+B
b) C+B
c) A+C

12.1.2022 © Jari Hautamäki

You might also like