EasyManua.ls Logo

Atari XL - Page 239

Atari XL
262 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Numbering
Systems
227
is
the
largest
number
we
can
store
In a
single
memory
location.
As
a
further
example,
let's
take
the
decimal
number
170. To
find
its
binary
representation,
we
continuously
divide
by two,
and
the
remainder
becomes
a
bit
in
the
binary
number.
170/2
85/2
42/2
21/2
10/2
5/2
2/2
1/2
85
42
21
10
= 5
2
1
o
remainder
o
1
o
1
o
1
o
1
gi
ving
us
the
binary
number
10101010
(reading
upwards)
ADDITION
OF
BINARY
NUMBERS
Binary
numbers
can
be
added
together
in
the
same
way
as
decimal
numbers.
An
example
will
make
this
clear.
.
To
perform
the
sum:
105
+
19
124
we
add
up
the
digits
in
each
column
to form
that
digit
of
the
answer.
If
the
result
of
this
addition
is
greater
than
9, we
generate
a
carry
into
the
next
column.
This
principle
also
applies
to
binary
numbers.
Let's
perform
the
same
calculation
with
the
binary
forms
of
105
and
19: