MB90610A Series
Table 10 Increment and Decrement Instructions (Byte/Word/Long Word) [12 Instructions]
Mnemonic
#
~
RG
B
Operation
LH AH
I
S
T
N
Z
V
C
RMW
INC
INC
ear
eam
2
2
2
0
0
byte (ear) ← (ear) +1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 5+ (a)
2× (b) byte (eam) ← (eam) +1
DEC
DEC
ear
eam
2
3
2
0
0
byte (ear) ← (ear) –1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 5+ (a)
2× (b) byte (eam) ← (eam) –1
INCW ear
INCW eam
2
3
2
0
0
word (ear) ← (ear) +1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 5+ (a)
2× (c) word (eam) ← (eam) +1
DECW ear
DECW eam
2
3
2
0
0
word (ear) ← (ear) –1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 5+ (a)
2× (c) word (eam) ← (eam) –1
INCL
INCL
ear
eam
2
7
4
0
0
long (ear) ← (ear) +1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 9+ (a)
2× (d) long (eam) ← (eam) +1
DECL ear
DECL eam
2
7
4
0
0
long (ear) ← (ear) –1
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
*
2+ 9+ (a)
2× (d) long (eam) ← (eam) –1
Note: For an explanation of “(a)” to “(d)”, refer to Table 4, “Number of Execution Cycles for Each Type of Addressing,”
and Table 5, “Correction Values for Number of Cycles Used to Calculate Number of Actual Cycles.”
Table 11 Compare Instructions (Byte/Word/Long Word) [11 Instructions]
Mnemonic
#
~
RG
B
Operation
byte (AH) – (AL)
LH AH
I
S
T
N
Z
V
C
RMW
CMP
CMP
CMP
CMP
A
1
2
1
2
0
1
0
0
0
0
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
–
–
–
–
A, ear
A, eam
A, #imm8
byte (A) ← (ear)
2+ 3+ (a)
(b) byte (A) ← (eam)
2
2
0
byte (A) ← imm8
CMPW
A
1
2
1
2
0
1
0
0
0
0
word (AH) – (AL)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
–
–
–
–
CMPW A, ear
word (A) ← (ear)
CMPW A, eam
CMPW A, #imm16
2+ 3+ (a)
(c) word (A) ← (eam)
3
2
0
word (A) ← imm16
CMPL A, ear
CMPL A, eam
CMPL A, #imm32
2
6
2
0
0
0
word (A) ← (ear)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
–
–
–
2+ 7+ (a)
(d) word (A) ← (eam)
word (A) ← imm32
5
3
0
Note: Foranexplanationof“(a)”to“(d)”, refertoTable4, “NumberofExecutionCyclesforEachTypeofAddressing,”
and Table 5, “Correction Values for Number of Cycles Used to Calculate Number of Actual Cycles.”
79