English
Language : 

Z86E3016PSG Datasheet, PDF (294/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
276
Example
If Working Register Pair R6 and R7 contains 404Ah, external data mem-
ory location 404Ah and 404Bh contain ABh and C3h respectively, and
Working Register R2 contains 22h, the statement:
LDEI @R2, @RR6
Op Code: 83 26
loads the value ABh into Register 22h. Working Register Pair RR6 is
incremented to 404Bh and Working Register R2 is incremented to 23h. A
second
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
If Working Register R2 contains 22h, Register 22h contains ABh, Regis-
ter 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.
Note: This instruction format is valid only for MCUs which can address external
data memory.
Instruction Description
UM001602-0904