i~e
M=”-51 PROGRAMMER’SGUIDE AND INSTRUCTIONSET
INC Rn
Bytes:
cycles
Encoding:
Operation:
INC direct
Bytee:
Cycles:
Encoding:
Operation:
INC @Ri
Bytes:
Cycles:
Encoding:
Operation:
INC DPTR
1
1
0000 Irrr
INC
m)+ w) + 1
2
1
0000 0101
1
directaddress
INC
(direct)~ (direct) + 1
1
1
0000 Olli
INC
(m)) + (m)) + 1
Function:
Description:
Example:
Bytes:
Cycle=
Encoding:
Operation:
IncrementDsta Pointer
Incrementthe id-bit data pointer by 1. A id-bit increment(modulo216)is performed;an
overflowof the low-orderbyte of the data pointer (DPL) fromOFFHto COHwillincrement
the high-orderbyte(DPH). No tlsgs are sfkted.
Thisis the only id-bit registerwhichcan be incremented.
RegistersDPH and DPL contsin 12Hsnd OFEH,respectively.The instructionsequence,
INC DPTR
INC DFTR
INC DPTR
willchsngeDPH and DPL to 13Hsnd OIH.
1
2
1o1o 0011
INC
(DPTR)- (DFITl) + 1
245