Siemens C500 User Manual page 61

Microcontroller family
Table of Contents

Advertisement

INC
DPTR
Function:
Increment data pointer
Description:
Increment the 16-bit data pointer by 1. A 16-bit increment (modulo 2
an overflow of the low-order byte of the data pointer (DPL) from 0FF H to 00 H will
increment the high-order byte (DPH). No flags are affected.
This is the only 16-bit register which can be incremented.
Example:
Registers DPH and DPL contain 12 H and 0FE H , respectively. The instruction
sequence
INC
INC
INC
will change DPH and DPL to 13 H and 01 H .
Operation:
INC
(DPTR) ¬ (DPTR) + 1
Encoding:
1 0 1 0
Bytes:
1
Cycles:
2
Semiconductor Group
DPTR
DPTR
DPTR
0 0 1 1
4-35
Instruction Set
C500 Family
16
) is performed;
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents