EasyManua.ls Logo

AMCC PPC405 - Memory-Mapped I;O Registers; Addressing Modes

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
28 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
1.5.3 Memory-Mapped I/O Registers
The memory-mapped I/O (MMIO) registers are accessed using load and store instructions. MMIO registers, which
are outside processor core and which are not architected, are used to control, configure, and hold status for
various functional units that are not part of the processor core.
1.5.4 Addressing Modes
The processor core supports the following addressing modes, which enable efficient retrieval and storage of data
in memory:
Base plus displacement addressing
Indexed addressing
Base plus displacement addressing and indexed addressing, with update
In the base plus displacement addressing mode, an effective address (EA) is formed by adding a displacement to
a base address contained in a GPR (or to an implied base of 0). The displacement is an immediate field in an
instruction.
In the indexed addressing mode, the EA is formed by adding an index contained in a GPR to a base address
contained in a GPR (or to an implied base of 0).
The base plus displacement and the indexed addressing modes also have a “with update” mode. In “with update”
mode, the effective address calculated for the current operation is saved in the base GPR, and can be used as the
base in the next operation. The “with update” mode relieves the processor from repeatedly loading a GPR with an
address for each piece of data, regardless of the proximity of the data in memory.

Table of Contents