APPENDIX A

Some Number Systems

A.1 Binary, Decimal and Hexadecimal

The number system we are most familiar with, decimal, makes use of 10 different symbols to represent numbers, i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. Each of these symbols represents a number, and we make larger numbers by using groups of symbols. In this case the digit most to the right represents units, the next represents tens, the next hundreds, and so on. For example, the number 249, shown in Figure A.1, is evaluated by adding the values in each position:

image

image

Figure A.1 The decimal ...

Get Fast and Effective Embedded Systems Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.