M68HC16 Z SERIES
CENTRAL PROCESSING UNIT
MOTOROLA
USER’S MANUAL
4-27
SUBB
Subtract from B
(B)
(M) B
IND8, X
IND8, Y
IND8, Z
IMM8
IND16, Y
IND16, Z
EXT
E, X
E, Y
E, Z
C0
D0
E0
F0
17C0
17D0
17E0
17F0
27C0
27D0
27E0
ff
ii
gggg
hh ll
—
6
2
6
——
—
SUBD
Subtract from D
(D)
(M : M + 1) D
IND8, X
IND8, Y
IND8, Z
IMM16
IND16, X
IND16, Y
IND16, Z
EXT
E, X
E, Y
E, Z
80
90
A0
37B0
37C0
37D0
37E0
37F0
2780
2790
27A0
ff
jj kk
gggg
hh ll
—
6
4
6
——
—
SUBE
Subtract from E
(E)
(M : M + 1) E
IMM16
IND16, X
IND16, Y
IND16, Z
EXT
3730
3740
3750
3760
3770
jj kk
gggg
hh ll
4
6
——
—
SWI
Software Interrupt
(PK
: PC) + $0002 PK : PC
Push (PC)
(SK
: SP) $0002 SK : SP
Push (CCR)
(SK
: SP) $0002 SK : SP
$0
PK
SWI Vector
PC
INH
3720
—
16
—
————
SXT
Sign Extend B into A
If B7 = 1
then $FF
A
else $00
A
INH
27F8
—
2
—
——
TAB
Transfer A to B
(A)
B
INH
3717
—
2
—
0—
TAP
Transfer A to CCR
(A[7:0])
CCR[15:8]
INH
37FD
—
4
TBA
Transfer B to A
(B)
A
INH
3707
—
2
—
0—
TBEK
Transfer B to EK
(B[3:0])
EK
INH
27FA
—
2
—
————
TBSK
Transfer B to SK
(B[3:0])
SK
INH
379F
—
2
—
————
TBXK
Transfer B to XK
(B[3:0])
XK
INH
379C
—
2
—
————
TBYK
Transfer B to YK
(B[3:0])
YK
INH
379D
—
2
—
————
TBZK
Transfer B to ZK
(B[3:0])
ZK
INH
379E
—
2
—
————
TDE
Transfer D to E
(D)
E
INH
277B
—
2
—
0—
TDMSK
Transfer D to
XMSK : YMSK
(D[15:8])
X MASK
(D[7:0])
Y MASK
INH
372F
—
2
—
————
Transfer D to CCR
(D)
CCR[15:4]
INH
372D
—
4
TED
Transfer E to D
(E)
D
INH
27FB
—
2
—
0—
TEDM
Transfer E and D to
AM[31:0]
Sign Extend AM
(E)
AM[31:16]
(D)
AM[15:0]
AM[35:32] = AM31
INH
27B1
—
4
—
0
—
0
————
TEKB
Transfer EK to B
(EK)
B[3:0]
$0
B[7:4]
INH
27BB
—
2
—
————
TEM
Transfer E to
AM[31:16]
Sign Extend AM
Clear AM LSB
(E)
AM[31:16]
$00
AM[15:0]
AM[35:32] = AM31
INH
27B2
—
4
—
0
—
0
————
TMER
Transfer Rounded AM
to E
Rounded (AM)
Temp
If (SM
(EV ' MV))
then Saturation Value
E
else Temp[31:16]
E
INH
27B4
—
6
—
—
——
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