MOTOROLA
INSTRUCTION REFERENCE
CPU12
A-22
REFERENCE MANUAL
Table A-3 Indexed Addressing Mode Postbyte Encoding (xb)
00
0,X
5b const
10
–16,X
5b const
20
1,+X
pre-inc
30
1,X+
post-inc
40
0,Y
5b const
50
–16,Y
5b const
60
1,+Y
pre-inc
70
1,Y+
post-inc
80
0,SP
5b const
90
–16,SP
5b const
A0
1,+SP
pre-inc
B0
1,SP+
post-inc
C0
0,PC
5b const
D0
–16,PC
5b const
E0
n,X
9b const
F0
n,SP
9b const
01
1,X
5b const
11
–15,X
5b const
21
2,+X
pre-inc
31
2,X+
post-inc
41
1,Y
5b const
51
–15,Y
5b const
61
2,+Y
pre-inc
71
2,Y+
post-inc
81
1,SP
5b const
91
–15,SP
5b const
A1
2,+SP
pre-inc
B1
2,SP+
post-inc
C1
1,PC
5b const
D1
–15,PC
5b const
E1
–n,X
9b const
F1
–n,SP
9b const
02
2,X
5b const
12
–14,X
5b const
22
3,+X
pre-inc
32
3,X+
post-inc
42
2,Y
5b const
52
–14,Y
5b const
62
3,+Y
pre-inc
72
3,Y+
post-inc
82
2,SP
5b const
92
–14,SP
5b const
A2
3,+SP
pre-inc
B2
3,SP+
post-inc
C2
2,PC
5b const
D2
–14,PC
5b const
E2
n,X
16b const
F2
n,SP
16b const
03
3,X
5b const
13
–13,X
5b const
23
4,+X
pre-inc
33
4,X+
post-inc
43
3,Y
5b const
53
–13,Y
5b const
63
4,+Y
pre-inc
73
4,Y+
post-inc
83
3,SP
5b const
93
–13,SP
5b const
A3
4,+SP
pre-inc
B3
4,SP+
post-inc
C3
3,PC
5b const
D3
–13,PC
5b const
E3
[n,X]
16b indr
F3
[n,SP]
16b indr
04
4,X
5b const
14
–12,X
5b const
24
5,+X
pre-inc
34
5,X+
post-inc
44
4,Y
5b const
54
–12,Y
5b const
64
5,+Y
pre-inc
74
5,Y+
post-inc
84
4,SP
5b const
94
–12,SP
5b const
A4
5,+SP
pre-inc
B4
5,SP+
post-inc
C4
4,PC
5b const
D4
–12,PC
5b const
E4
A,X
A offset
F4
A,SP
A offset
05
5,X
5b const
15
–11,X
5b const
25
6,+X
pre-inc
35
6,X+
post-inc
45
5,Y
5b const
55
–11,Y
5b const
65
6,+Y
pre-inc
75
6,Y+
post-inc
85
5,SP
5b const
95
–11,SP
5b const
A5
6,+SP
pre-inc
B5
6,SP+
post-inc
C5
5,PC
5b const
D5
–11,PC
5b const
E5
B,X
B offset
F5
B,SP
B offset
06
6,X
5b const
16
–10,X
5b const
26
7,+X
pre-inc
36
7,X+
post-inc
46
6,Y
5b const
56
–10,Y
5b const
66
7,+Y
pre-inc
76
7,Y+
post-inc
86
6,SP
5b const
96
–10,SP
5b const
A6
7,+SP
pre-inc
B6
7,SP+
post-inc
C6
6,PC
5b const
D6
–10,PC
5b const
E6
D,X
D offset
F6
D,SP
D offset
07
7,X
5b const
17
–9,X
5b const
27
8,+X
pre-inc
37
8,X+
post-inc
47
7,Y
5b const
57
–9,Y
5b const
67
8,+Y
pre-inc
77
8,Y+
post-inc
87
7,SP
5b const
97
–9,SP
5b const
A7
8,+SP
pre-inc
B7
8,SP+
post-inc
C7
7,PC
5b const
D7
–9,PC
5b const
E7
[D,X]
D indirect
F7
[D,SP]
D indirect
08
8,X
5b const
18
–8,X
5b const
28
8,–X
pre-dec
38
8,X–
post-dec
48
8,Y
5b const
58
–8,Y
5b const
68
8,–Y
pre-dec
78
8,Y–
post-dec
88
8,SP
5b const
98
–8,SP
5b const
A8
8,–SP
pre-dec
B8
8,SP–
post-dec
C8
8,PC
5b const
D8
–8,PC
5b const
E8
n,Y
9b const
F8
n,PC
9b const
09
9,X
5b const
19
–7,X
5b const
29
7,–X
pre-dec
39
7,X–
post-dec
49
9,Y
5b const
59
–7,Y
5b const
69
7,–Y
pre-dec
79
7,Y–
post-dec
89
9,SP
5b const
99
–7,SP
5b const
A9
7,–SP
pre-dec
B9
7,SP–
post-dec
C9
9,PC
5b const
D9
–7,PC
5b const
E9
–n,Y
9b const
F9
–n,PC
9b const
0A
10,X
5b const
1A
–6,X
5b const
2A
6,–X
pre-dec
3A
6,X–
post-dec
4A
10,Y
5b const
5A
–6,Y
5b const
6A
6,–Y
pre-dec
7A
6,Y–
post-dec
8A
10,SP
5b const
9A
–6,SP
5b const
AA
6,–SP
pre-dec
BA
6,SP–
post-dec
CA
10,PC
5b const
DA
–6,PC
5b const
EA
n,Y
16b const
FA
n,PC
16b const
0B
11,X
5b const
1B
–5,X
5b const
2B
5,–X
pre-dec
3B
5,X–
post-dec
4B
11,Y
5b const
5B
–5,Y
5b const
6B
5,–Y
pre-dec
7B
5,Y–
post-dec
8B
11,SP
5b const
9B
–5,SP
5b const
AB
5,–SP
pre-dec
BB
5,SP–
post-dec
CB
11,PC
5b const
DB
–5,PC
5b const
EB
[n,Y]
16b indr
FB
[n,PC]
16b indr
0C
12,X
5b const
1C
–4,X
5b const
2C
4,–X
pre-dec
3C
4,X–
post-dec
4C
12,Y
5b const
5C
–4,Y
5b const
6C
4,–Y
pre-dec
7C
4,Y–
post-dec
8C
12,SP
5b const
9C
–4,SP
5b const
AC
4,–SP
pre-dec
BC
4,SP–
post-dec
CC
12,PC
5b const
DC
–4,PC
5b const
EC
A,Y
A offset
FC
A,PC
A offset
0D
13,X
5b const
1D
–3,X
5b const
2D
3,–X
pre-dec
3D
3,X–
post-dec
4D
13,Y
5b const
5D
–3,Y
5b const
6D
3,–Y
pre-dec
7D
3,Y–
post-dec
8D
13,SP
5b const
9D
–3,SP
5b const
AD
3,–SP
pre-dec
BD
3,SP–
post-dec
CD
13,PC
5b const
DD
–3,PC
5b const
ED
B,Y
B offset
FD
B,PC
B offset
0E
14,X
5b const
1E
–2,X
5b const
2E
2,–X
pre-dec
3E
2,X–
post-dec
4E
14,Y
5b const
5E
–2,Y
5b const
6E
2,–Y
pre-dec
7E
2,Y–
post-dec
8E
14,SP
5b const
9E
–2,SP
5b const
AE
2,–SP
pre-dec
BE
2,SP–
post-dec
CE
14,PC
5b const
DE
–2,PC
5b const
EE
D,Y
D offset
FE
D,PC
D offset
0F
15,X
5b const
1F
–1,X
5b const
2F
1,–X
pre-dec
3F
1,X–
post-dec
4F
15,Y
5b const
5F
–1,Y
5b const
6F
1,–Y
pre-dec
7F
1,Y–
post-dec
8F
15,SP
5b const
9F
–1,SP
5b const
AF
1,–SP
pre-dec
BF
1,SP–
post-dec
CF
15,PC
5b const
DF
–1,PC
5b const
EF
[D,Y]
D indirect
FF
[D,PC]
D indirect
Summary of Contents for CPU12
Page 8: ...MOTOROLA CPU12 viii REFERENCE MANUAL ...
Page 14: ...MOTOROLA INTRODUCTION CPU12 1 4 REFERENCE MANUAL ...
Page 20: ...MOTOROLA OVERVIEW CPU12 2 6 REFERENCE MANUAL ...
Page 38: ...MOTOROLA INSTRUCTION QUEUE CPU12 4 6 REFERENCE MANUAL ...
Page 300: ...MOTOROLA DEVELOPMENT AND DEBUG SUPPORT CPU12 8 16 REFERENCE MANUAL ...
Page 338: ...MOTOROLA MEMORY EXPANSION CPU12 10 8 REFERENCE MANUAL ...
Page 364: ...MOTOROLA INSTRUCTION REFERENCE CPU12 A 26 REFERENCE MANUAL ...
Page 386: ...MOTOROLA HIGH LEVEL LANGUAGE SUPPORT CPU12 C 6 REFERENCE MANUAL ...
Page 438: ...MOTOROLA SUMMARY OF CHANGES CPU12 S 2 REFERENCE MANUAL ...
Page 439: ......