
<
2
.75
7UGT U/CPWCN
#FFTGUU5RCEG
=L/2*
7/<:
LDCI
Load Constant Auto-increment
Example: Working register pair
R6
-
R7
contains
30A2H
, program memory location
30A2H
and
30A3H
contain
22H
and
BCH
respectively, and working register
R2
contains
20H
. The following statement loads the
value
22H
into Register
20H
. working register Pair
RR6
is incremented to
30A3H
and working register
R2
is incremented to
21H
.
LDCI @R2, @RR6
Op Code: C3 26
A second statement loads the value
BCH
into register
21H
. working register pair
RR6
is incremented to
30A4H
and working register
R2
is incremented to
22H
.
LDCI @R2, @RR6
Op Code: C3 26
Example: Working register
R2
contains
20H
. Register
20H
contains
22H
. Register
21H
contains
BCH
.
Working register pair
R6-R7
contains
30A2H
. The following statement loads the value
22H
into program
memory location
30A2H
. working register
R2
is incremented to
21H
and working register Pair
R6-R7
is
incremented to
30A3H
.
LDCI @RR6, @R2
Op Code: D3 26
A second statement loads the value
BCH
into program memory location
30A3H
. working register
R2
is incre-
mented to
22H
and working register pair
R6-R7
is incremented to
30A4H
.
LDCI @RR6, @R2
Op Code: D3 26