Zilog Z08470 User Manual

Page 291

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

279

Example

The Program Counter contains

1A47h

, the Stack Pointer contains

3002h

, and memory

locations contain the following data.

If an instruction fetch sequence begins, the 3-byte instruction CD

3521h

is fetched to the

CPU for execution. The mnemonic equivalent of this instruction is CALL

2135h

. Upon

the execution of this instruction, memory address

3001h

contains

1Ah

, address

3000h

contains

4Ah

, the Stack Pointer contains

3000h

, and the Program Counter contains

2135h

, thereby pointing to the address of the first op code of the next subroutine to be

executed.

Location

Contents

1A47h CDh

IA48h 35h

1A49h 21h

Advertising
This manual is related to the following products: