Z8 Microcontrollers
Instruction Descriptions and Formats ZiLOG
12-42 UM001601-0803
LDCI
LOAD CONSTANT AUTO-INCREMENT
Example:
If Working Register R2 contains 20H, Register 20H contains 22H, Register 21H contains BCH, and Working
Register Pair R6-R7 contains 30A2H, the statement:
LDCI @RR6, @R2
Op Code: D3 26
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. A second
LDCI @RR6, @R2
Op Code: D3 26
loads the value BCH into program memory location 30A3H. Working Register R2 is incremented to 22H and
Working Register Pair R6-R7 is incremented to 30A4H.