ARM Cortex-M3 Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 41
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 40 41

Comentarios a estos manuales

Sin comentarios