EasyManuals Logo

ZiLOG Z8 Technical Manual

ZiLOG Z8
166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
RET
Instruction
foraat:
OPC
Operation:
flags:
EXBllple:
PC
<--
asp
sp
<--
SP
+ 2
ope
Cycles (Hex)
14
AF
RET
Return
This
instruction
is
normally used
to
return
to
the
previously
executed
procedure
at
the
end
of
a procedure
entered
by
a
CALL
instruction.
The
contents
of
the
location
addressed
by
the
SP
are
popped
into
the
PC.
The
next
statement
executed
is
that
addressed
by
the
new
contents
of
the
PC.
No
flags
affected
If
the
PC
contains
~35B4,
the
SP
contains
~2000,
external
data-memory
location
%2000
contains
~18,
and
location
~2001
contains
%B5,
then
the
statement
RET
leaves
the
value
%2002
in
the
SP
and
the
PC
contains
~18B5,
the
address
of
the
next
instruction.
5-37

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

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

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals