EasyManuals Logo
Home>ZiLOG>Desktop>Z8

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 #32 background imageLoading...
Page #32 background image
Address
Modes
4.3
INDIRECT
REGISTER
ADDRESSING
(IR)
4.4
INDEXED
ADDRESSING
(X)
In
the
Indirect
Register
addressing
mode,
the
con-
tents
of
the
specified
register
is
the
address
of
the
operand
(Figures
4-3 and
4-4).
Depending
upon
the
instruction
selected,
the
address
points
to
a
register,
program
memory,
or
an
external
data
memory
location.
The
Indexed
addressing
mode
is
used only
by
the
Load
(LD)
instruction.
An
indexed
address
consists
of
a
register
address
offset
by
the
contents
of
a
designated
working
register
(the
Index).
This
offset
is
added
to
the
register
address
to
obtain
the
address
of
the
operand.
Figure
4-5
illus-
trates
this
addressing
convention.
When
accessing
program
memory
or
external
data
memory,
register
pairs
or
working
register
pairs
are
used
to
hold
the
16-bit
addresses.
8·BIT REGISTER
FILE ADDRESS
PROGRAM MEMORY
REGISTER FILE
't~====~d~s~t====~~-;~~~)Q~~~~~~~t:;~~~~~==~
ONE.OPERAND OPCODE POINTS TO ONE REGISTER
INSTRUCTION IN REGISTER FILE
EXAMPLE ADDRESS OF
OPERAND
USED
BY
INSTRUCTION
VALUE USED IN
INTRODUCTION
EXECUTION
OPERAND
Figure
4-3.
Indirect
Register
Addressing
to
Register
File
4·BIT WORKING
REGISTER ADDRESS
INSTRUCTION
EXAMPLE
REFERENCES EITHER
PROGRAM MEMORY
src
PROGRAM MEMORY
A--~~";;;';;~-~
OR
DATA MEMORY
POINTS
TO WORKING
REGISTER PAIR
(EVEN ADDRESS)
REGISTER FILE
RP
REGISTER
PAIR
PROGRAM MEMORY
OR
DATA MEMORY
Figure
4-4.
Indirect
Register
Addressing
to
Program
or
Data
Memory
POINTS TO
ORIGIN OF
WORKING
REGISTER
GROUP
16·BIT
ADDRESS
POINTS
TO
PROGRAM
OR
DATA
MEMORY
4-2
3047·075, 3047·076

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