Make your own free website on Tripod.com

IND

Input with decrement.
Function: (HL) <- (C); B <- B - 1; HL <- HL - 1
 
Format:
1110 1101
 
byte 1: ED
 
1010 1010
 
byte 2: AA
 
Description: The peripheral device addressed by the C register is read and the result is loaded into the memory location addressed by the HL register pair. The B register and the HL register pair are then each decremented.
 
Data Flow:
 
Timing: 4 M cycles; 16 T states: 8 usec @ 2 MHz
 
Addressing Mode: external
 
Flags:
 
Example:
IND

OBJECT CODE
Before:
 
After: