Make your own free website on Tripod.com

ADD A,(IX + d)

Add accumulator with indexed addressed memory location (IX + d).
 
Function: A <- A + (IX + d)
 
Format:
1101 1101
 
byte 1: DD
 
1000 0110
 
byte 2: 86
 
dddd dddd
 
byte 3: offset value
 
Description: The contents of the accumulator are added to the contents of the memory location addressed by the contents of the IX register plus the immediate offset value. The result is stored in the accumulator.
 
Data Flow:
 
Timing: 5 M cycles; 19 T states: 9.5 usec @ 2 MHz
 
Addressing Mode: indexed
 
Flags:
 
Example:
ADD  A,(IX+3)

OBJECT CODE
Before:
 
After: