English
Language : 

MC9RS08KA8RM Datasheet, PDF (83/190 Pages) Freescale Semiconductor, Inc – MC9RS08KA8 Features
Chapter 8 Central Processor Unit (RS08CPUV1)
Source
Form
LDX #opr8i (1)
LDX opr8a (1)
LDX ,X (1)
LSLA
Table 8-1. Instruction Set Summary (Sheet 5 of 6)
Description
Load Index Register from
Memory
Operation
$0F ← (M)
Effect
on
CCR
ZC
IMD
¦ — DIR
IX
Logical Shift Left
C
b7
0
b0
¦ ¦ INH
3E
ii 0F 4
4E
dd 0F 5
4E
0E 0E 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
Move
No Operation
Inclusive OR
Accumulator and
Memory
ROLA
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
STX opr8a (1)
STOP
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
Store Index Register in
Memory
Put MCU into stop mode
C
b7
b0
Pull PC from shadow PC
A ← (A) – (M) – (C)
A ← (A) – (X) – (C)
C←1
A ⇔ SPCH
A ⇔ SPCL
M ← (A)
M ← (X)
¦ ¦ INH
— — INH
IMM
¦
¦
DIR
IX
DIR
— 1 INH
— — INH
— — INH
DIR
¦
—
SRT
IX
SRT
¦ — DIR
— — INH
46
1
BE
3
A2
ii
2
B2
dd
3
B2
0E 3
B2
0F 3
39
1
45
1
42
1
B7
3
Ex / Fx
EE
dd
2
2
EF
2
4E
0F dd 5
AE
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.
MC9RS08KA8 Series Reference Manual, Rev. 3
Freescale Semiconductor
83