ZiLOG Z80 User Manual page 21

Hide thumbs Also See for Z80:
Table of Contents

Advertisement

6ppˆ€ˆyh‡‚…
D‡r……ˆƒ‡ÃWrp‡‚…
Dqr‘ÃSrtv†‡r…Ã
Dqr‘ÃSrtv†‡r…
T‡hpxÃQ‚v‡r…
Q…‚t…h€Ã8‚ˆ‡r…
)LJXUH 
6SHFLDO3XUSRVH 5HJLVWHUV
3URJUDP &RXQWHU 3&
The program counter holds the 16-bit address of the current instruction
being fetched from memory. The PC is automatically incremented after its
contents have been transferred to the address lines. When a program jump
occurs, the new value is automatically placed in the PC, overriding the
incrementer.
6WDFN 3RLQWHU 63
The stack pointer holds the 16-bit address of the current top of a stack
located anywhere in external system RAM memory. The external stack
memory is organized as a last-in first-out (LIFO) file. Data can be pushed
onto the stack from specific CPU registers or popped off of the stack to
specific CPU registers through the execution of PUSH and POP instructions.
The data popped from the stack is always the last data pushed onto it. The
80
HhvÃSrtv†‡r…ÃTr‡
Ayht†
A
6
7
8
9
@
C
G
Hr€‚…’ÃSrs…r†u
D
S
DY
D`
TQ
Q8
= &38 5HJLVWHU &RQILJXUDWLRQ
6y‡r…h‡rÃSrtv†‡r…ÃTr‡
6ppˆ€ˆyh‡‚…
Ayht†
AÃ
6Ã
7Ã
7Ã
9Ã
@Ã
CÃ
GÃ
Tƒrpvhy
Qˆ…ƒ‚†r
Srtv†‡r…†
< %27
7UGT U /CPWCN
Brr…hy
Qˆ…ƒ‚†r
Srtv†‡r…†
2YHUYLHZ


Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z80 and is the answer not in the manual?

Questions and answers

Table of Contents