Zilog Z86193 Bedienungsanleitung Seite 171

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 260
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 170
Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
164
Call Procedure
Syntax
CALL dst
Instruction Format
Operation
SP SP–2
@SP PC
PC dst
The Stack pointer is decremented by two, the current contents of the Program Counter
(PC) (address of the first instruction following the CALL instruction) are pushed onto the
top of the Stack, and the specified destination address is then loaded into the PC. The PC
now points to the first instruction of the procedure.
At the end of the procedure a RET (return) instruction can be used to return to the original
program flow. RET pops the top of the Stack and replace the original value into the PC.
Address mode IRR can be used to specify a 4-bit Working Register Pair. In this format, the
destination Working Register Pair operand is specified by adding
1110b (Eh) to the high
nibble of the operand. For example, if Working Register Pair RR12 (CH) is the destination
operand, then
ECh is used as the destination operand in the Op Code.
Cycles
OPC
(Hex)
Address Mode
dst
OPC dst 20 D6 DA
OPC dst 20 D4 IRR
Flag Description
C Unaffected
Z Unaffected
S Unaffected
V Unaffected
D Unaffected
H Unaffected
Esrcor Edst
Note:
Seitenansicht 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 259 260

Kommentare zu diesen Handbüchern

Keine Kommentare