Make your own free website on Tripod.com

LDI

Block load with increment.
Function: (DE) <- (HL); DE <- DE + 1; HL <- HL + 1; BC <- BC - 1
 
Format:
1110 1101
 
byte 1: ED
 
1010 0000
 
byte 2: A0
 
Description: The contents of the memory location addressed by HL are loaded into the memory location addressed by DE. Then both DE, and HL are incremented, and the register pair BC is decremented.
 
Data Flow:
 
Timing: 4 M cycles; 16 T states: 8 usec @ 2 MHz
 
Addressing Mode: indirect
 
Flags:
 
Example:
LDI

OBJECT CODE
Before:
 
After: