Arm VERSION 1.2 Manuel d'utilisateur Page 50

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 360
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 49
Writing ARM and Thumb Assembly Language
2-38 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
Converting to Thumb
There is no post-indexed addressing mode for Thumb
LDR
and
STR
instructions. Because
of this, you must use an
ADD
instruction to increment the address register after the
LDR
and
STR
instructions. For example:
LDRB r2, [r1] ; load register 2
ADD r1, #1 ; increment the address in
; register 1.
Vue de la page 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 359 360

Commentaires sur ces manuels

Pas de commentaire