English
Language : 

MC9RS08KA2_07 Datasheet, PDF (70/136 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 8 Central Processor Unit (RS08CPUV1)
Source
Form
INC opr8a
INC opr4a
INC ,X (1)
INCA
INCX (1)
JMP opr16a
JSR opr16a
LDA #opr8i
LDA opr8a
LDA opr5a
LDA ,X (1)
LDX #opr8i (1)
LDX opr8a (1)
LDX ,X (1)
LSLA
Table 8-1. Instruction Set Summary (Sheet 4 of 5)
Description
Increment
Jump
Jump to Subroutine
Load Accumulator from
Memory
Load Index Register from
Memory
Operation
M ← (M) + $01
A ← (A) + $01
X ← (X) + $01
PC ← Effective Address
PC ← (PC) + 3
Push PC to shadow PC
PC ← Effective Address
A ← (M)
$0F ← (M)
Effect
on
CCR
ZC
DIR
TNY
↕ – IX
INH
INH
– – EXT
– – EXT
IMM
↕
–
DIR
SRT
IX
IMD
↕ – DIR
IX
Logical Shift Left
C
b7
0
b0
↕ ↕ INH
3C dd
5
2x
4
2E
4
4C
1
2F
4
BC hh ll
4
BD hh ll
4
A6 ii
2
B6 dd
3
Cx/Dx
3
CE
3
3E ii 0F
4
4E dd 0F 5
4E 0E 0F 5
48
1
LSRA
Logical Shift Right
MOV opr8a,opr8a
MOV #opr8i,opr8a
MOV D[X],opr8a
MOV opr8a,D[X]
MOV #opr8i,D[X]
NOP
ORA #opr8i
ORA opr8a
ORA ,X (1)
ORA X
ROLA
Move
No Operation
Inclusive OR
Accumulator and
Memory
Rotate Left through Carry
0
b7
C
b0
(M)destination ← (M)source
None
A ← (A) | (M)
A ← (A) | (X)
C
b7
b0
↕ ↕ INH
DD
IMD
↕ – IX/DIR
DIR/IX
IMM/IX
– – INH
IMM
↕
–
DIR
IX
DIR
↕ ↕ INH
44
1
4E dd dd 5
3E ii dd 4
4E 0E dd 5
4E dd 0E 5
3E ii 0E
4
AC
1
AA ii
2
BA dd
3
BA 0E
3
BA 0F
3
49
1
RORA
RTS
SBC #opr8i
SBC opr8a
SBC ,X (1)
SBC X
SEC
SHA
SLA
STA opr8a
STA opr5a
STA ,X (1)
STA X
Rotate Right through
Carry
Return from Subroutine
Subtract with Carry
Set Carry Bit
Swap Shadow PC High
with A
Swap Shadow PC Low
with A
Store Accumulator in
Memory
C
b7
b0
Pull PC from shadow PC
A ← (A) – (M) – (C)
A ← (A) – (X) – (C)
C←1
A ⇔ SPCH
A ⇔ SPCL
M ← (A)
↕ ↕ INH
– – INH
IMM
↕
↕
DIR
IX
DIR
– 1 INH
– – INH
– – INH
DIR
↕
–
SRT
IX
SRT
46
1
BE
3
A2 ii
2
B2 dd
3
B2 0E
3
B2 0F
3
39
1
45
1
42
1
B7 dd
3
Ex / Fx
2
EE
2
EF
2
1. This is a pseudo instruction supported by the normal RS08 instruction set.
2. This instruction is different from that of the HC08 and HCS08 in that the RS08 does not auto-increment the index register.
MC9RS08KA2 Series Data Sheet, Rev. 3
70
Freescale Semiconductor