ARM Cortex-M3 Manuel d'utilisateur Page 20

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 41
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 19
20
Conditional Execution
ITTET EQ
Inst 1
Inst 2
Inst 3
Inst 4
If
Then (IT) instruction added (16 bit)
Up to 3 additional “then” or “else” conditions maybe specified (T or E)
Makes up to 4 following instructions conditional
Any normal ARM condition code can be used
16
-
bit instructions in block do not affect condition code flags
Apart from comparison instruction
32 bit instructions may affect flags (normal rules apply
)
Current “if
-
then status” stored in CPSR
Conditional block maybe safely interrupted and returned to
Must NOT branch into or out of ‘if
-
then’ block
MOVEQ
ADDEQ
SUBNE
ORREQ
Vue de la page 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 40 41

Commentaires sur ces manuels

Pas de commentaire