ARM Cortex-M3 Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 41
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 40 41

Komentáře k této Příručce

Žádné komentáře