Motorola CPU32 Manuale Utente Pagina 57

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 646
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 56
Addressing Capabilities
2-16
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
2.2.14 Program Counter Memory Indirect Postindexed Mode
This mode is similar to the mode described in
2.2.9 Memory Indirect Postindexed Mode
,
but the PC is the base register. Both the operand and operand address are in memory. The
processor calculates an intermediate indirect memory address by adding a base
displacement to the PC contents. The processor accesses a long word at that address and
adds the scaled contents of the index register and the optional outer displacement to yield
the effective address. The value of the PC used in the calculation is the address of the first
extension word. This is a program reference allowed only for reads.
In the syntax for this mode, brackets enclose the values used to calculate the intermediate
memory address. All four user-specified values are optional. The user must supply the
assembler notation ZPC (a zero value PC) to show the PC is not used. This allows the user
to access the program space without using the PC in calculating the effective address. Both
the base and outer displacements may be null, word, or long word. When omitting a
displacement or suppressing an element, its value is zero in the effective address
calculation.
EA = (bd + PC) + Xn.SIZE*SCALE + od
([bd,PC],Xn.SIZE*SCALE,od)
111
011
1,2,3,4, or 5
+
+
X
SIGN-EXTENDED VALUE
SCALE VALUE
CONTENTS
31 0
31 0
031
SIGN-EXTENDED VALUE
CONTENTS
VALUE AT INDIRECT MEM. ADDRESS IN PROG. SPACE
31 0
31 0
SIGN-EXTENDED VALUE
31 0
+
BASE DISPLACEMENT
INDEX REGISTER
SCALE
OPERAND POINTER
OUTER DISPLACEMENT
GENERATION:
ASSEMBLER SYNTAX:
EA MODE FIELD:
EA REGISTER FIELD:
NUMBER OF EXTENSION WORDS:
PROGRAM COUNTER
INTERMEDIATE
ADDRESS
CONTENTS
31
0
MEMORY
OPERAND
POINTS TO
POINTS TO
MEMORY
Vedere la pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 645 646

Commenti su questo manuale

Nessun commento