English
Language : 

MC9RS08KA2 Datasheet, PDF (67/132 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 8 Central Processor Unit (RS08CPUV1)
Source
Form
ADC #opr8i
ADC opr8a
ADC ,X (1)
ADC X
ADD #opr8i
ADD opr8a
ADD opr4a
ADD ,X (1)
ADD X
AND #opr8i
AND opr8a
AND ,X (1)
AND X
Table 8-1. Instruction Set Summary (Sheet 1 of 5)
Description
Add with Carry
Add without Carry
Logical AND
Operation
A ← (A) + (M) + (C)
A ← (A) + (X) + (C)
A ← (A) + (M)
A ← (A) & (M)
A ← (A) & (X)
Effect
on
CCR
ZC
IMM
↕
↕
DIR
IX
DIR
IMM
DIR
↕ ↕ TNY
IX
DIR
IMM
↕
–
DIR
IX
DIR
A9 ii
2
B9 dd
3
B9 0E
3
B9 0F
3
AB ii
2
BB dd
3
6x
3
6E
3
6F
3
A4 ii
2
B4 dd
3
B4 0E
3
B4 0F
3
ASLA(1)
BCC rel
BCLR n,opr8a
BCLR n,D[X]
BCLR n,X
BCS rel
BEQ rel
BGND
BHS rel (1)
BLO rel (1)
BNE rel
BRA rel
BRN rel (1)
Arithmetic Shift Left
Branch if Carry Bit Clear
C
b7
0
b0
PC ← (PC) + $0002 + rel, if (C) = 0
Clear Bit n in Memory
Mn ← 0
Branch if Carry Bit Set
(Same as BLO)
Branch if Equal
Background
Branch if Higher or Same
(Same as BCC)
Branch if Lower (Same
as BCS)
Branch if Not Equal
Branch Always
Branch Never
PC ← (PC) + $0002 + rel, if (C) = 1
PC ← (PC) + $0002 + rel, if (Z) = 1
Enter Background Debug Mode
PC ← (PC) + $0002 + rel, if (C) = 0
PC ← (PC) + $0002 + rel, if (C) = 1
PC ← (PC) + $0002 + rel, if (Z) = 0
PC ← (PC) + $0002 + rel
PC ← (PC) + $0002
↕ ↕ INH
– – REL
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
IX (b0)
IX (b1)
IX (b2)
–
–
IX (b3)
IX (b4)
IX (b5)
IX (b6)
IX (b7)
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
– – REL
– – REL
– – INH
– – REL
– – REL
– – REL
– – REL
– – REL
48
1
34 rr
3
11 dd
5
13 dd
5
15 dd
5
17 dd
5
19 dd
5
1B dd
5
1D dd
5
1F dd
5
11 0E
5
13 0E
5
15 0E
5
17 0E
5
19 0E
5
1B 0E
5
1D 0E
5
1F 0E
5
11 0F
5
13 0F
5
15 0F
5
17 0F
5
19 0F
5
1B 0F
5
1D 0F
5
1F 0F
5
35 rr
3
37 rr
3
BF
5+
34 rr
3
35 rr
3
36 rr
3
30 rr
3
30 00
3
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. 2
Freescale Semiconductor
67