
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
281
If cc is true:
If cc is false:
Condition Bits Affected
None.
Example
The C Flag in the F Register is reset, 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
D43521h is fetched to the
CPU for execution. The mnemonic equivalent of this instruction is CALL NC,
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.
cc Condition
Relevant
Flag
000 Non-Zero (NZ) Z
001 Zero (Z) Z
010 Non Carry (NC) C
011 Carry (C) Z
100 Parity Odd (PO) P/V
101 Parity Even (PE) P/V
110 Sign Positive (P) S
111 Sign Negative (M) S
M Cycles T States 4 MHz E.T.
5 17 (4, 3, 4, 3, 3) 4.25
M Cycles T States 4 MHz E.T.
3 10 (4, 3, 3) 2.50
Location Contents
1A47h D4h
1448h 35h
1A49h 21h
Komentáře k této Příručce