ARM Cortex-M3 Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 41
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 40 41

Komentarze do niniejszej Instrukcji

Brak uwag