{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

218L2F08a

# 218L2F08a - ESE218 Lecture 2 Outline Number systems Binary...

This preview shows pages 1–9. Sign up to view the full content.

9/4/2008 ESE218 Fall 2008 Lecture 2 1 ESE218 Lecture 2 Number systems. Binary arithmetic. Negative numbers Outline Number systems: Binary, Octal, Hexadecimal vs Decimal Decimal-to-Binary conversion Binary arithmetic Addition, subtraction, multiplication, division Negative numbers Signed magnitude Complement system Decimal integers with sign 10’s complements 9’s complements Binary integers with sign 1’s complements 2’s complements Summary

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
9/4/2008 ESE218 Fall 2008 Lecture 2 2 Binary Number Systems Binary Decimal 9 8 7 6 5 4 3 2 1 0 1 0 10 digits 2 digits 1 Bit = Bi nary digit 1 Tetrad = 4 bits 1 Byte = 8 bits 218 10 = 2 x 100 + 1 x10 + 8 11011010 2 = 1x128 + 1x64 + 1x16 + 1x8 + 1x2 High voltage Low voltage Logical 1 Logical 0 Binary format is understandable by hardware