ADD IX,pp

Operation

IX <- IX + pp

Mnemonic

ADD

Operands

IX,pp

b7b6b5b4b3b2b1b0
1 1 0 1 1 1 0 1$DD
0 0 pp 1001

Description

The contents of register pair pp (any of register pairs BC, DE, IX, or SP) are added to the contents of Index Register IX, and the results are stored in IX. In the assembled object code, operand pp is specified as follows:

Register
Pair
rHex
BC00$09
DE01$19
IX10$29
SP11$39

Condition Bits Affected

Sis not affected.
Zis not affected.
His set if carry from bit 11, otherwise it is reset.
P/Vis not affected.
Nis reset.
Cis set if carry from bit 15, otherwise it is reset.

Example

If Index Register IX contains $3333 and register pair BC contains $5555, then upon the execution of

	ADD	IX,BC

IX contains $8888.