MOTOROLA
CENTRAL PROCESSING UNIT
M68HC16 Z SERIES
4-28
USER’S MANUAL
TMET
Transfer Truncated
AM to E
If (SM
(EV ' MV))
then Saturation Value
E
else AM[31:16]
E
INH
27B5
—
2
—
——
TMXED
Transfer AM to
IX : E : D
AM[35:32]
IX[3:0]
AM35
IX[15:4]
AM[31:16]
E
AM[15:0]
D
INH
27B3
—
6
—
————
TPA
Transfer CCR to A
(CCR[15:8])
A
INH
37FC
—
2
—
————
TPD
Transfer CCR to D
(CCR)
D
INH
372C
—
2
—
————
TSKB
Transfer SK to B
(SK)
B[3:0]
$0
B[7:4]
INH
37AF
—
2
—
————
TST
Test Byte
Zero or Minus
(M)
$00
IND8, X
IND8, Y
IND8, Z
IND16, X
IND16, Y
IND16, Z
EXT
06
16
26
1706
1716
1726
1736
ff
gggg
hh ll
6
——
—
00
TSTA
Test A for
Zero or Minus
(A)
$00
INH
3706
—
2
—
00
TSTB
Test B for
Zero or Minus
(B)
$00
INH
3716
—
2
—
00
TSTD
Test D for
Zero or Minus
(D)
$0000
INH
27F6
—
2
—
00
TSTE
Test E for
Zero or Minus
(E)
$0000
INH
2776
—
2
—
00
TSTW
Test for
Zero or Minus Word
(M
: M + 1) $0000
IND16, X
IND16, Y
IND16, Z
EXT
2706
2716
2726
2736
gggg
hh ll
6
——
—
00
TSX
Transfer SP to X
(SK
: SP) + $0002 XK : IX
INH
274F
—
2
—
————
TSY
Transfer SP to Y
(SK
: SP) + $0002 YK : IY
INH
275F
—
2
—
————
TSZ
Transfer SP to Z
(SK
: SP) + $0002 ZK : IZ
INH
276F
—
2
—
————
TXKB
Transfer XK to B
(XK)
B[3:0]
$0
B[7:4]
INH
37AC
—
2
—
————
TXS
Transfer X to SP
(XK : IX)
$0002 SK : SP
INH
374E
—
2
—
————
TXY
Transfer X to Y
(XK
: IX) YK : IY
INH
275C
—
2
—
————
TXZ
Transfer X to Z
(XK
: IX) ZK : IZ
INH
276C
—
2
—
————
TYKB
Transfer YK to B
(YK)
B[3:0]
$0
B[7:4]
INH
37AD
—
2
—
————
TYS
Transfer Y to SP
(YK : IY)
$0002 SK : SP
INH
375E
—
2
—
————
TYX
Transfer Y to X
(YK : IY)
XK : IX
INH
274D
—
2
—
————
TYZ
Transfer Y to Z
(YK : IY)
ZK : IZ
INH
276D
—
2
—
————
TZKB
Transfer ZK to B
(ZK)
B[3:0]
$0
B[7:4]
INH
37AE
—
2
—
————
TZS
Transfer Z to SP
(ZK : IZ)
$0002 SK : SP
INH
376E
—
2
—
————
TZX
Transfer Z to X
(ZK : IZ)
XK : IX
INH
274E
—
2
—
————
TZY
Transfer Z to Y
(ZK : IZ)
YK : IY
INH
275E
—
2
—
————
WAI
Wait for Interrupt
WAIT
INH
27F3
—
8
—
————
XGAB
Exchange A with B
(A)
(B)
INH
371A
—
2
—
————
XGDE
Exchange D with E
(D)
(E)
INH
277A
—
2
—
————
XGDX
Exchange D with IX
(D)
(IX)
INH
37CC
—
2
—
————
Table 4-2 Instruction Set Summary (Continued)
Mnemonic
Operation
Description
Address
Instruction
Condition Codes
Mode
Opcode
Operand
Cycles
S
MV
H
EV
N
Z
V
C