Typewriter User Manual

MOTOROLA MC68340 USER’S MANUAL 5- 33
Y
X
1024
2048 3072
4096
INDEPENDENT VARIABLE
INDEPENDENT VARIABLE
Figure 5-9. Table Example 3
Table 5-15. 8-Bit Independent
Variable Entries
X
(Subroutine)
X
(Instruction)
Y
000
1 256 16
2 512 32
3 768 48
4 1024 64
5 1280 80
6 1536 96
7 1792 112
8 2048 128
9 2304 112
10 2560 96
11 2816 80
12 3072 64
13 3328 48
14 3584 32
15 3840 16
16 4096 0
The first column is the value passed to the subroutine, the second column is the value
expected by the table instruction, and the third column is the result returned by the
subroutine.
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...