Freescale Semiconductor, Inc.
Y
4096
2048
3072
1024
X
INDEPENDENT VARIABLE
Figure 5-9. Table Example 3
Table 5-15. 8-Bit Independent
Variable Entries
X
X
Y
(Subroutine)
(Instruction)
0
1
0
0
16
32
48
64
80
96
112
128
112
96
80
64
48
32
16
0
256
2
512
3
768
4
1024
1280
1536
1792
2048
2304
2560
2816
3072
3328
3584
3840
4096
5
6
7
8
9
10
11
12
13
14
15
16
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.
MOTOROLA
MC68340 USER’S MANUAL
5- 33
For More Information On This Product,
Go to: www.freescale.com