ARM Cortex-M3 Manual do Utilizador Página 20

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 41
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 40 41

Comentários a estes Manuais

Sem comentários