English
Language : 

MC68HC08AS20 Datasheet, PDF (87/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Table 7-1. Instruction Set Summary (Sheet 8 of 8)
Source
Form
Operation
Description
Effect on
CCR
VH I NZC
TST opr
TSTA
TSTX
TST opr,X
TST ,X
TST opr,SP
Test for Negative or Zero
(A) – $00 or (X) – $00 or (M) – $00
DIR
INH
0
–
–↕
↕
–
INH
IX1
IX
SP1
3D dd 3
4D
1
5D
1
6D ff
3
7D
2
9E6D ff
4
TSX
Transfer SP to H:X
H:X ← (SP) + 1
– – – – – – INH
95
2
TXA
Transfer X to A
A ← (X)
– – – – – – INH
9F
1
TXS
Transfer H:X to SP
(SP) ← (H:X) – 1
– – – – – – INH
94
2
A
C
CCR
dd
dd rr
DD
DIR
DIX+
ee ff
EXT
ff
H
H
hh ll
I
ii
IMD
IMM
INH
IX
IX+
IX+D
IX1
IX1+
IX2
M
N
Accumulator
Carry/borrow bit
Condition code register
Direct address of operand
Direct address of operand and relative offset of branch instruction
Direct to direct addressing mode
Direct addressing mode
Direct to indexed with post increment addressing mode
High and low bytes of offset in indexed, 16-bit offset addressing
Extended addressing mode
Offset byte in indexed, 8-bit offset addressing
Half-carry bit
Index register high byte
High and low bytes of operand address in extended addressing
Interrupt mask
Immediate operand byte
Immediate source to direct destination addressing mode
Immediate addressing mode
Inherent addressing mode
Indexed, no offset addressing mode
Indexed, no offset, post increment addressing mode
Indexed with post increment to direct addressing mode
Indexed, 8-bit offset addressing mode
Indexed, 8-bit offset, post increment addressing mode
Indexed, 16-bit offset addressing mode
Memory location
Negative bit
n
opr
PC
PCH
PCL
REL
rel
rr
SP1
SP2
SP
U
V
X
Z
&
|
⊕
()
–( )
#
«
←
?
:
↕
—
Any bit
Operand (one or two bytes)
Program counter
Program counter high byte
Program counter low byte
Relative addressing mode
Relative program counter offset byte
Relative program counter offset byte
Stack pointer, 8-bit offset addressing mode
Stack pointer 16-bit offset addressing mode
Stack pointer
Undefined
Overflow bit
Index register low byte
Zero bit
Logical AND
Logical OR
Logical EXCLUSIVE OR
Contents of
Negation (two’s complement)
Immediate value
Sign extend
Loaded with
If
Concatenated with
Set or cleared
Not affected
7.8 Opcode Map
The opcode map is provided in Table 7-2.
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
87