Loading...
1- 10 M68040 USER’S MANUAL MOTOROLA
applications and high-level languages. The program counter indirect mode also has
indexing and offset capabilities. This addressing mode is typically required to support
position-independent software. Besides these addressing modes, the M68040 provides
index sizing and scaling features.
An instruction’s addressing mode can specify the value of an operand, a register
containing the operand, or how to derive the effective address of an operand in memory.
Each addressing mode has an assembler syntax. Some instructions imply the addressing
mode for an operand. These instructions include the appropriate fields for operands that
use only one addressing mode. Table 1-2 lists a summary of the effective addressing
modes for the M68040. Refer to M68000PM/AD,
M68000 Family Programmer’s
Reference Manual,
for details on instruction format and addressing modes.
Table 1-2. Effective Addressing Modes
Addressing Modes Syntax
Register Direct
Data
Address
Dn
An
Register Indirect
Address
Address with Postincrement
Address with Predecrement
Address with Displacement
(An)
(An)+
–(An)
(d16,An)
Address Register Indirect with Index
8-Bit Displacement
Base Displacement
(d 8,An,Xn)
(bd,An,Xn)
Memory Indirect
Postindexed
Preindexed
([bd,An],Xn,od)
([bd,An,Xn],od)
Program Counter Indirect
with Displacement (d16,PC)
Program Counter Indirect with Index
8-Bit Displacement
Base Displacement
(d 8,PC,Xn)
(bd,PC,Xn)
Program Counter Memory Indirect
Postindexed
Preindexed
([bd,PC],Xn,od)
([bd,PC,Xn],od)
Absolute Data Addressing
Short
Long
(xxx).W
(xxx).L
Immediate #<xxx>
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com