MOTOROLA
6-286
INSTRUCTION GLOSSARY
CPU16
REFERENCE MANUAL
NOTES:
1. CCR[15:4] change according to the results of the operation. The PK field is not affected.
2. Cycle times for conditional branches are shown in “taken, not taken” order.
3. CCR[15:0] change according to the copy of the CCR pulled from the stack.
4. PK field changes according to the state pulled from the stack. The rest of the CCR is not affected.
TSTW
Test for
Zero or Minus Word
(M
:
M
+
1)
$0000
IND16, X
IND16, Y
IND16, Z
EXT
INH
INH
INH
INH
2706
2716
2726
2736
274F
275F
276F
37AC
gggg
gggg
gggg
hh ll
—
—
—
—
6
6
6
6
2
2
2
2
—
—
—
—
0
0
TSX
TSY
TSZ
TXKB
Transfer SP to X
Transfer SP to Y
Transfer SP to Z
Transfer XK to B
(SK
:
SP)
+
$0002
XK
:
IX
(SK
:
SP)
+
$0002
YK
:
IY
(SK
:
SP)
+
$0002
ZK
:
IZ
(XK)
B[3:0]
$0
B[7:4]
(XK : IX)
$0002
SK : SP
(XK
:
IX)
YK
:
IY
(XK
:
IX)
ZK
:
IZ
(YK)
B[3:0]
$0
B[7:4]
(YK : IY)
$0002
SK : SP
(YK : IY)
XK : IX
(YK : IY)
ZK : IZ
(ZK)
B[3:0]
$0
B[7:4]
(ZK : IZ)
$0002
SK : SP
(ZK : IZ)
XK : IX
(ZK : IZ)
YK : IY
WAIT
(A)
(B)
(D)
(E)
(D)
(IX)
(D)
(IY)
(D)
(IZ)
(E)
(IX)
(E)
(IY)
(E)
(IZ)
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
TXS
TXY
TXZ
TYKB
Transfer X to SP
Transfer X to Y
Transfer X to Z
Transfer YK to B
INH
INH
INH
INH
374E
275C
276C
37AD
—
—
—
—
2
2
2
2
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
TYS
TYX
TYZ
TZKB
Transfer Y to SP
Transfer Y to X
Transfer Y to Z
Transfer ZK to B
INH
INH
INH
INH
375E
274D
276D
37AE
—
—
—
—
2
2
2
2
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
TZS
TZX
TZY
WAI
XGAB
XGDE
XGDX
XGDY
XGDZ
XGEX
XGEY
XGEZ
Transfer Z to SP
Transfer Z to X
Transfer Z to Y
Wait for Interrupt
Exchange A with B
Exchange D with E
Exchange D with IX
Exchange D with IY
Exchange D with IZ
Exchange E with IX
Exchange E with IY
Exchange E with IZ
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
376E
274E
275E
27F3
371A
277A
37CC
37DC
37EC
374C
375C
376C
—
—
—
—
—
—
—
—
—
—
—
—
2
2
2
8
2
2
2
2
2
2
2
2
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
Table 6-36 Instruction Set Summary (Continued)
Mnemonic
Operation
Description
Address
Instruction
Condition Codes
Mode
Opcode
Operand
Cycles
S
MV
H
EV
N
Z
V
C
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.