Download Print this page

Motorola M6800 Specification page 23

Motorola microcomputer data specification
Hide thumbs Also See for M6800:

Advertisement

Therefore 75 8 - 111101 which is the same pattern of 1's & 0's as we
got from converting from base 10 to base 2. What this really says that it is
easier to convert any base 10 number to base 8 by continuous division, and
then convert each digit of the base 8 number to base 2.
Let's look at another example. Convert 183 10 to base 8 & to base 2.
267 8 = 7x8 0 + 6x8 1 + 2x8 2
= 7x1
+ 6x8
= 7
+ 48
= 183
to convert 267 8 directly to base 2, we convert each base 8 digit
separately.
22
8
183
R=7
2
8
22
R=6
0
8
2
R=2
91
2
183
R=1
45
2
91
R=1
22
2
45
R=1
11
2
22
R=0
5
2
11
R=1
2
2
5
R=1
1
2
2
R=0
0
2
1
R=1
+ 2x64
+ 128
267 8
10110111 2
MPU-23

Advertisement

loading