Z8 Microcontrollers
ZiLOG Instruction Descriptions and Formats
UM001601-0803 12-45
LDEI
LOAD EXTERNAL DATA AUTO-INCREMENT
Example:
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.
Note: This instruction format is valid only for MCUs which can address external data memory.