Freescale Semiconductor MC68HC908MR16 Datasheet page 88

Freescale semiconductor microcontrollers data sheet
Table of Contents

Advertisement

Central Processor Unit (CPU)
Source
Form
PULA
Pull A from Stack
PULH
Pull H from Stack
PULX
Pull X from Stack
ROL opr
ROLA
ROLX
Rotate Left through Carry
ROL opr,X
ROL ,X
ROL opr,SP
ROR opr
RORA
RORX
Rotate Right through Carry
ROR opr,X
ROR ,X
ROR opr,SP
RSP
Reset Stack Pointer
RTI
Return from Interrupt
RTS
Return from Subroutine
SBC #opr
SBC opr
SBC opr
SBC opr,X
Subtract with Carry
SBC opr,X
SBC ,X
SBC opr,SP
SBC opr,SP
SEC
Set Carry Bit
SEI
Set Interrupt Mask
STA opr
STA opr
STA opr,X
STA opr,X
Store A in M
STA ,X
STA opr,SP
STA opr,SP
STHX opr
Store H:X in M
Enable Interrupts, Stop Processing,
STOP
Refer to MCU Documentation
STX opr
STX opr
STX opr,X
STX opr,X
Store X in M
STX ,X
STX opr,SP
STX opr,SP
SUB #opr
SUB opr
SUB opr
SUB opr,X
Subtract
SUB opr,X
SUB ,X
SUB opr,SP
SUB opr,SP
88
Table 7-1. Instruction Set Summary (Sheet 5 of 6)
Operation
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Description
SP ← (SP + 1); Pull (A)
SP ← (SP + 1); Pull (H)
SP ← (SP + 1); Pull (X)
C
b7
b0
C
b7
b0
SP ← $FF
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)
C ← 1
I ← 1
M ← (A)
(M:M + 1) ← (H:X)
I ← 0; Stop Processing
M ← (X)
A ← (A) – (M)
Effect
on CCR
V H I N Z C
– – – – – – INH
– – – – – – INH
– – – – – – INH
DIR
INH
INH
– –
IX1
IX
SP1
9E69
DIR
INH
INH
– –
IX1
IX
SP1
9E66
– – – – – – INH
9C
INH
– – – – – – INH
IMM
DIR
EXT
C2
IX2
D2
– –
IX1
IX
SP1
9EE2
SP2
9ED2
– – – – – 1 INH
– – 1 – – – INH
DIR
EXT
C7
IX2
D7
0 – –
IX1
IX
SP1
9EE7
SP2
9ED7
0 – –
– DIR
– – 0 – – – INH
DIR
BF
EXT
CF
IX2
DF
0 – –
IX1
EF
IX
SP1
9EEF
SP2
9EDF
IMM
DIR
EXT
C0
IX2
D0
– –
IX1
IX
SP1
9EE0
SP2
9ED0
Freescale Semiconductor
86
2
8A
2
88
2
39
dd
4
49
1
59
1
69
ff
4
79
3
ff
5
36
dd
4
46
1
56
1
66
ff
4
76
3
ff
5
1
80
7
81
4
A2
ii
2
B2
dd
3
hh ll
4
ee ff
4
E2
ff
3
F2
2
ff
4
ee ff
5
99
1
9B
2
B7
dd
3
hh ll
4
ee ff
4
E7
ff
3
F7
2
ff
4
ee ff
5
35
dd
4
8E
1
dd
3
hh ll
4
ee ff
4
ff
3
FF
2
ff
4
ee ff
5
A0
ii
2
B0
dd
3
hh ll
4
ee ff
4
E0
ff
3
F0
2
ff
4
ee ff
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents