Texas-instruments TMS320C3x Manuel d'utilisateur Page 166

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 757
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 165
Indirect Addressing
6-13
Addressing Modes
Example 6–11. Indirect Addressing With Preindex Add
The address of the operand to fetch is the sum of an auxiliary register (AR
n
)
and an index register (IR0 or IR1).
Operation: operand address = AR
n
+ IR
m
Assembler Syntax:*+AR
n
(IR
m
)
Modification Field: 01000 if
m
= 0
10000 if
m
= 1
(+)
0
0
31 24 23
Addressxx
AR
n
31
IR
m
x
0
31
Index
Operand
x
24 23
Example 6–12. Indirect Addressing With Preindex Subtract
The address of the operand to fetch is the difference of an auxiliary register
(AR
n
) and an index register (IR0 or IR1).
Operation: operand address = AR
n
– IR
m
Assembler Syntax: *–AR
n
(IR
m
)
Modification Field: 01001 if
m
= 0
10001 if
m
= 1
(–)
0
0
31 24 23
Addressxx
AR
n
31
IR
m
x
0
31
Index
Operand
x
24 23
Vue de la page 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 756 757

Commentaires sur ces manuels

Pas de commentaire