Push ix – Zilog Z08470 User Manual

Page 127

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

115

PUSH IX

Operation

(SP – 2) ← IXL, (SP – 1) ← IXH

Op Code

PUSH

Operand

IX

Description

The contents of Index Register IX are pushed to the external memory last-in, first-out
(LIFO) stack. The Stack Pointer (SP) Register pair holds the 16-bit address of the current
top of the Stack. This instruction first decrements SP and loads the high-order byte of IX
to the memory address specified by SP; then decrements SP again and loads the low-order
byte to the memory location corresponding to this new address in SP.

Condition Bits Affected

None.

Example

If Index Register IX contains

2233h

and the Stack Pointer contains

1007h

, then upon the

execution of a PUSH IX instruction, memory address

1006h

contains

22h

, memory

address

1005h

contains

33h

, and the Stack Pointer contains

1005h

.

M Cycles

T States

4 MHz E.T.

4

15 (4, 5, 3, 3)

3.75

1

1

1

0

1

1

0

1

DD

1

1

0

0

1

1

1

0

E5

Advertising
This manual is related to the following products: