135
Table 2-2. List of Instructions (6)
Addressing Mode and
Instruction Length (Bytes)
Mnemonic
Operand Size
Operation
#xx: 8/16
Rn
@Rn
@(d:16,Rn)
@–Rn/@Rn+
@aa:8/16
@(d:8, PC)
@@aa
Condition Code
No. of States
Branching
Condition
I
H
N
Z
V0
C
BPL d:8
--
if condition
is true
then
PC
←
PC+d
:8 else
next;
N=0
2
-
-
-
-
-
-
4
BMI d:8
--
N=1
2
-
-
-
-
-
-
4
BGE d:8
--
N
⊕
V=0
2
-
-
-
-
-
-
4
BLT d:8
--
N
⊕
V=1
2
-
-
-
-
-
-
4
BGT d:8
--
Zv(N
⊕
V)=0
2
-
-
-
-
-
-
4
BLE d:8
--
Zv(N
⊕
V)=1
2
-
-
-
-
-
-
4
JMP @Rn
--
PC
←
Rn16
2
-
-
-
-
-
-
4
JMP @aa:16
--
PC
←
aa:16
4
-
-
-
-
-
-
6
JMP @@aa:8
--
PC
←
@aa:8
2
-
-
-
-
-
-
8
BSR
--
SP-2
→
SP
PC
→
@SP
PC
←
PC+d:8
2
-
-
-
-
-
-
6
JSR @Rn
--
SP-2
→
SP
PC
→
@SP
PC
←
Rn16
2
-
-
-
-
-
-
6
JSR @aa:16
--
SP-2
→
SP PC
→
@SP
PC
←
aa:16
4
-
-
-
-
-
-
8
JSR @@aa:8
--
SP-2
→
SP PC
→
@SP
PC
←
@aa:8
2
-
-
-
-
-
-
8
RTS
--
PC
←
SP
SP+2
→
SP
2
-
-
-
-
-
-
8
RTE
CCR
←
@SP SP+2
→
SP
PC
←
@SP SP+2
→
SP
2
∆
∆
∆
∆
∆
∆
10
SLEEP
--
Transit to sleep mode.
2
-
-
-
-
-
-
2
LDC #xx:8,CCR
B
#xx:8
→
CCR
2
∆
∆
∆
∆
∆
∆
2
LDC Rs,CCR
B
Rs8
→
CCR
2
∆
∆
∆
∆
∆
∆
2
STC CCR,Rd
B
CCR
→
Rd8
2
-
-
-
-
-
-
2
ANDC #xx:8,CCR
B
CCR^#xx:8
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...