Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Binary Numbers

did
Decimal Base 10 o a

Binary Base 0,1

Decimal Binary

9
I
5
6
7
8
9
I

Binary toduind Powers of 2

from right to lift


Ig I II 20 1

16 4 2 22
22

M
it
4

16
24 16
1011012 22

T T
Binary Decimal

64 32 16 8 2 1 123

Binary
inside
numbers
our
stood
digital circuits on 1
O
off

l computer is able to store numbers

65 66 67
Text A BC
a
I b c
Atf
97 9899

I it small
Gap
Hello world
t Ida j

Japanese Chinese hindi

Unicode Superset of Ascii

Unicode nr
y.g

A 65 1000

A A A

Move Pinels Image Quality

Resolution

if
1920 X 1080
DSLR 7680 4320
Vines
Click
apicture 1280 720
with phone

View it 7680 4320


only

Piaf

Three values

Red Green Blue


O 2555 0525 TO 255

255,25 5,255 white


O
0,0 Black

castoff
for each pinel computer
p compel
stores 3 values R GB

R U B
white 215.2 1251
Digital image
Processin

6,70
Yellow 2 7,2
d
Decimal Binary
247 O o
l
206 1011
O I I 0

Audio

Whitgift T

1,210,8

Benitatobinary

147 I
401111 z
no Gra s s ai 2

32 St 4 2 1
297

5 mins 10 14

24

2 1
O

it

1 I
0002 24
10

I
0

I
o

I 000 101 69

Digitalivant

mt aim
__

11122 7

5 2 5 I C 2

Sify Isn bit


Athol
10 81910
1 Invert all bits I
10 1 01
2 Add I to the new no

I 0 1 I
t
IIpeement

singbit

10
joy Dolo lolol to
sign T
the
Sign bit denotes sign of no

O Positive

1 2s
Negative
__ complement
Reserved
for
4 2 TI
lo 2 bit y
value
1 Get the binary of 15
15
1 2 Get the binary of 10

15 QQ 4 compute 2 s
complement of 10
io Add the two
gig 3

IS 10 5

Last carry 10 01010


Invert
is ignored
tyg
o t o O
o t I 1

Tig
n
I t 0 I
I
I 1g
141 1 11 2 s complement
I t 1 0 10 10
of

00 101 7 5

1oiio
not 22

If all nos are the unsigned integers


10 110 22

If you are working with signed integers


sign 7
bit 0190 10
2 s
bit is I negative
If sign complement

Ctt
signed

Older machines 32 bit architecture

Registers used
inside CPU

64 bit architecture

You might also like