Call subroutine

76543210
 
\((SP-1) \longleftarrow PC_h\\ (SP-2) \longleftarrow PC_l\\ SP \longleftarrow SP-2\\ PC \longleftarrow nn\)
CALL nn
11001101CD
7nn0
158
 
\(\begin{rcases} (SP-1) \longleftarrow PC_h\\ (SP-2) \longleftarrow PC_l\\ SP \longleftarrow SP-2\\ PC \longleftarrow nn \end{rcases} \text{ if } ccc = true\)
CALL ccc, nn
11ccc100CD
7nn0
158
Conditions
cccAbbrev Condition Flag
000NZ Non Zero Z
001Z Zero
010NC No Carry C
011C Carry
100 PO Parity Odd P/V
101 PE Parity Even
110 P Sign Positive S
111 M Sign Negative

Timing

All call operation's take 17 (4,3,4,3,3) T-States, except for the conditional ones when the condition has not been met. In those instances it takes 10(4,3,3) T-States.

Flags Affected
None.
Opcode Matrix
UncondCNCZNZPEPONP
CALL nn
CALL nn
CDnnnn317
CALL C,nn
DCnnnn317
CALL NC,nn
D4nnnn317
CALL Z,nn
CCnnnn317
CALL NZ,nn
C4nnnn317
CALL PE,nn
ECnnnn317
CALL PO,nn
E4nnnn317
CALL N,nn
FCnnnn317
CALL P,nn
F4nnnn317
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Flow