beautypg.com

Ldci – Zilog Z8F0130 User Manual

Page 186

background image

eZ8

CPU Core

User Manual

UM012820-0810

LDCI Instruction

171

LDCI

Definition

Load Constant to/from Program Memory and Auto-Increment Addresses.

Syntax

LDCI dst, src

Operation

dst

 src

r

 r + 1

rr

 rr + 1

Description

This new eZ8 instruction performs block transfers of data between Pro-
gram Memory and the Register File. The address of the Program Memory
location is specified by a Working Register Pair and the address of the
Register File location is specified by Working Register. The contents of
the source location are loaded into the destination location. Both
addresses in the Working Registers are then incremented automatically.
The contents of the source operand is unaffected.

Flags

C

Unaffected

Z

Unaffected

S

Unaffected

V

Unaffected

D

Unaffected

H

Unaffected