Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(EOD).Mechatronics.pdf
Скачиваний:
81
Добавлен:
23.08.2013
Размер:
5.07 Mб
Скачать

page 271

21. NUMBERING

21.1 INTRODUCTION

We are familiar with numbers based on units of 10, a result of our 10 fingers. But, other number bases are possible.

When using digital systems, we will use a variety of numbering systems (other than in units of 10).

With computers, number bases that are multiples of 2 are favored.

base 2 - binary base 8 - octal

base 16 - hexadecimal

• For each base we count as usual, but the numbers stop at some value, then a more significant digit is added.

decimal

binary

octal

hexadecimal

 

 

 

 

 

 

0

0

0

0

 

 

1

1

1

1

 

 

2

10

2

2

 

 

3

11

3

3

 

 

4

100

4

4

 

 

5

101

5

5

 

 

6

110

6

6

 

 

 

 

7

111

7

7

Note: As with all numbering systems

8

1000

10

8

 

 

9

1001

11

9

most significant digits are at left,

10

1010

12

a

least significant digits are at right.

11

1011

13

b

 

 

12

1100

14

c

 

 

13

1101

15

d

 

 

14

1110

16

e

 

 

15

1111

17

f

 

 

16

10000

20

10

 

 

17

10001

21

11

 

 

18

10010

22

12

 

 

19

10011

23

13

 

 

20

10100

24

14

 

 

 

 

 

 

 

 

Соседние файлы в предмете Электротехника