Make your own free website on Tripod.com

ADD IX,rr

Add IX and register pair rr.
Function: IX <- IX + rr
 
Format:
1101 1101
 
byte 1: DD
 
00rr 1001
 
byte 2
 
Description: The contents of the IX register are added to the contents of the specified register pair and the result is stored back in IX. rr may be any one of:
BC
00
DE
01
IX
10
SP
11

 
Data Flow:
 
Timing: 4 M cycles; 15 T states: 7.5 usec @ 2 MHz
 
Addressing Mode: implicit
 
Byte Codes:
ADD IX,rr
ss:BCDEIXSP
DD +09192939
 
Flags:
C is set by carry from bit 15, reset otherwise.
H is set by a carry from bit 11.
 
Example:
ADD  IX,SP

OBJECT CODE
Before:
 
After: