LD SP,IX

Operation

SP <- IX

Mnemonic

LD

Operands

SP,IX

b7b6b5b4b3b2b1b0
1 1 0 1 1 1 0 1$DD
1 1 1 1 1 0 0 1$F9

Description

The 2-byte contents of Index Register IX are loaded to the Stack Pointer (SP)

Condition Bits Affected

None

Example

If Index Register IX contains $98DA, then upon execution of

	LD	SP,IX

the Stack Pointer also contains $98DA.