
25
AT/TSC8x251G2D
4135F–8051–11/06
4. If this instruction addresses external memory location, add 2(N+2) to the number of
states (N: number of wait states).
Table 21.
Summary of Increment and Decrement Instructions
Notes: 1. A shaded cell denotes an instruction in the C51 Architecture.
2. If this instruction addresses an I/O Port (Px, x = 0-3), add 2 to the number of states.
Add 3 if it addresses a Peripheral SFR.
IncrementINC <dest>dest opnd
← dest opnd + 1
IncrementINC <dest>, <src>dest opnd
← dest opnd + src opnd
DecrementDEC <dest>dest opnd
← dest opnd - 1
DecrementDEC <dest>, <src>dest opnd
← dest opnd - src opnd
Mnemonic
<dest>,
<src>
(1)
Comments
Binary Mode
Source Mode
Bytes
States
Bytes
States
INC
DEC
AACC by 1
1
Rn
Register by 1
1
2
dir8
Direct address (on-chip RAM or
SFR) by 1
22(2)
at Ri
Indirect address by 1
1
3
2
4
INC
DEC
Rm, #short
Byte register by 1, 2, or 4
3
2
1
WRj, #short
Word register by 1, 2, or 4
3
2
1
INC
DRk, #short
Double word register by 1, 2, or 4
3
4
2
3
DEC
DRk, #short
Double word register by 1, 2, or 4
3
5
2
4
INC
DPTR
Data pointer by 1
1