English
Language : 

MC68HC05P9A Datasheet, PDF (47/158 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
CPU
Instruction Set
Table 9. Instruction Set Summary (Continued)
Source
Form
Operation
Description
Effect on
CCR
H I NZC
PC ← (PC) + 1; Push (PCL)
SP ← (SP) – 1; Push (PCH)
SP ← (SP) – 1; Push (X)
SWI
Software Interrupt
SP ← (SP) – 1; Push (A)
SP ← (SP) – 1; Push (CCR)
— 1 — — — INH
SP ← (SP) – 1; I ← 1
PCH ← Interrupt Vector High Byte
PCL ← Interrupt Vector Low Byte
TAX
Transfer Accumulator to Index Register
X ← (A)
— — — — — INH
TST opr
DIR
TSTA
INH
TSTX
Test Memory Byte for Negative or Zero
(M) – $00
— — ¤ ¤ — INH
TST opr,X
IX1
TST ,X
IX
TXA
Transfer Index Register to Accumulator
A ← (X)
— — — — — INH
WAIT
Stop CPU Clock and Enable Interrupts
— 0 — — — INH
A
C
CCR
dd
dd rr
DIR
ee ff
EXT
ff
H
hh ll
I
ii
IMM
INH
IX
IX1
IX2
M
N
n
Accumulator
Carry/borrow flag
Condition code register
Direct address of operand
Direct address of operand and relative offset of branch instruction
Direct 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 flag
High and low bytes of operand address in extended addressing
Interrupt mask
Immediate operand byte
Immediate addressing mode
Inherent addressing mode
Indexed, no offset addressing mode
Indexed, 8-bit offset addressing mode
Indexed, 16-bit offset addressing mode
Memory location
Negative flag
Any bit
opr Operand (one or two bytes)
PC Program counter
PCH Program counter high byte
PCL Program counter low byte
REL Relative addressing mode
rel Relative program counter offset byte
rr Relative program counter offset byte
SP Stack pointer
X Index register
Z Zero flag
# Immediate value
∧ Logical AND
∨ Logical OR
⊕ Logical EXCLUSIVE OR
( ) Contents of
–( ) Negation (two’s complement)
← Loaded with
? If
: Concatenated with
¤ Set or cleared
— Not affected
83
10
97
2
3D dd 4
4D
3
5D
3
6D ff 5
7D
4
9F
2
8F
2
Opcode Map
The opcode map is provided in Table 10.
25-hc05cpu
MOTOROLA
CPU
47
For More Information On This Product,
Go to: www.freescale.com