Star Laserprinter 4111 Software - Star Micronics 4111 Applications Manual

Star micronics laser printer applications manual
Table of Contents

Advertisement

1.2 STAR LASERPRINTER 4111 S OFTWARE
1.2.1 Binary and hexadecimal arithmetic
If you already know what hexadecimal numbers are, you can skip this section
and go ahead to read about ASCII.
The decimal number system with which we're all familiar is a positional
counting system. There's the "ones" position, the "tens" position, the
"hundreds" position and so on. Each higher position is worth ten times more
than the position to the right of it, since the decimal system uses the base of
ten. Moreover, we need ten symbols to show the actual values that may be
in each position.
The binary system is positional too. There's the "ones" position, the "twos"
position, the "fours" position, the "eights" position and so on. In binary each
position is worth only twice that of the position to its right. And we only need
two symbols—O (zero) and 1(one) —to show the values that maybe in any
position. So in binary we get numbers that look like 1010 or 10001100.
The hexadecimal system is made of base-sixteen numbers. Hexadecimal is
positional like the other counting systems. And each higher position is worth
sixteen times as much as the position to its right.
We need sixteen different symbols to show all the possible values one
hexadecimal digit could have. We can use our decimal system's ten symbols,
but we've had to borrow a few more from our alphabet to get all the symbols
we need. In hexadecimal, therefore, you can have a number that looks like
2C7C, or even FACE.
Here'show the decimal, binary and hexadecimal number systems compare:
Decimal
Binary
o
0000
I
0001
2
0010
3
0011
4
O1oo
5
0101
6
0110
7
01I1
Hexadecimal
o
2
3
4
5
6
7
Decimal
8
9
10
11
12
13
14
15
Binary
1000
100 I
1010
lo] I
I100"
IIol
I110
1111
Hexadecimal
x
9
A
B
c
D
E
F
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Laserprinter 4iii

Table of Contents