Zilog Z86193 User Manual

Page 209

Advertising
background image

Z8

®

CPU

User Manual

UM001604-0108

Instruction Description

202

LDEI @R2, @RR6

Op Code: 83 26

loads the value

C3h

into Register

23h

. Working Register Pair RR6 is incremented to

404Ch

and Working Register R2 is incremented to

24h

.

Example 2

If Working Register R2 contains

22h

, Register

22h

contains

ABh

, Register

23h

contains

C3h

, and Working Register Pair R6 and R7 contains

404Ah

, the statement:

LDEI @RR6, @R2

Op Code: 93 26

loads the value

ABh

into external data memory location

404Ah

. Working Register R2 is

incremented to

23h

and Working Register Pair RR6 is incremented to

404Bh

. A second

LDEI @RR6, @R2

Op Code: 93 26

loads the value

C3h

into external data memory location

404Bh

. Working Register R2 is

incremented to

24h

and Working Register Pair RR6 is incremented to

404Ch

.

This instruction format is valid only for MCUs which can address external data memory.

Note:

Advertising