English
Language : 

MC68HC05JJ6 Datasheet, PDF (186/216 Pages) Freescale Semiconductor, Inc – General Release Specification Microcontrollers
Instruction Set
Source
Form
ROR opr
RORA
RORX
ROR opr,X
ROR ,X
RSP
RTI
RTS
SBC #opr
SBC opr
SBC opr
SBC opr,X
SBC opr,X
SBC ,X
SEC
SEI
STA opr
STA opr
STA opr,X
STA opr,X
STA ,X
STOP
STX opr
STX opr
STX opr,X
STX opr,X
STX ,X
SUB #opr
SUB opr
SUB opr
SUB opr,X
SUB opr,X
SUB ,X
SWI
TAX
Table 12-6. Instruction Set Summary (Continued)
Operation
Rotate Byte Right through Carry Bit
Reset Stack Pointer
Return from Interrupt
Return from Subroutine
Subtract Memory Byte and Carry Bit from
Accumulator
Set Carry Bit
Set Interrupt Mask
Store Accumulator in Memory
Stop Oscillator and Enable IRQ Pin
Store Index Register In Memory
Subtract Memory Byte from Accumulator
Software Interrupt
Transfer Accumulator to Index Register
Description
Effect on
CCR
H I NZC
DIR 36 dd 5
INH 46
3
C
— — ↕ ↕ ↕ INH 56
3
b7
b0
IX1 66 ff 6
IX 76
5
SP ← $00FF
— — — — — INH 9C
2
SP ← (SP) + 1; Pull (CCR)
SP ← (SP) + 1; Pull (A)
SP ← (SP) + 1; Pull (X)
SP ← (SP) + 1; Pull (PCH)
SP ← (SP) + 1; Pull (PCL)
SP ← (SP) + 1; Pull (PCH)
SP ← (SP) + 1; Pull (PCL)
A ← (A) – (M) – (C)
↕ ↕ ↕ ↕ ↕ INH 80
9
— — — — — INH 81
6
IMM A2 ii 2
DIR B2 dd 3
—— ↕ ↕ ↕
EXT
IX2
C2 hh ll 4
D2 ee ff 5
IX1 E2 ff 4
IX F2
3
C←1
— — — — 1 INH 99
2
I←1
— 1 — — — INH 9B
2
M ← (A)
DIR B7 dd 4
EXT C7 hh ll 5
— — ↕ ↕ — IX2 D7 ee ff 6
IX1 E7 ff 5
IX F7
4
— 0 — — — INH 8E
2
M ← (X)
DIR BF dd 4
EXT CF hh ll 5
— — ↕ ↕ — IX2 DF ee ff 6
IX1 EF ff 5
IX FF
4
A ← (A) – (M)
IMM A0 ii 2
DIR B0 dd 3
—— ↕ ↕ ↕
EXT
IX2
C0 hh ll 4
D0 ee ff 5
IX1 E0 ff 4
IX F0
3
PC ← (PC) + 1; Push (PCL)
SP ← (SP) – 1; Push (PCH)
SP ← (SP) – 1; Push (X)
SP ← (SP) – 1; Push (A)
SP ← (SP) – 1; Push (CCR)
— 1 — — — INH
83
10
SP ← (SP) – 1; I ← 1
PCH ← Interrupt Vector High Byte
PCL ← Interrupt Vector Low Byte
X ← (A)
— — — — — INH 97
2
General Release Specification
186
Instruction Set
MC68HC05JJ6/MC68HC05JP6 — Rev. 3.2
Freescale Semiconductor