Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 417

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 416
BREAK
SC140 DSP Core Reference Manual A-103
BREAK Terminate the Loop and Branch BREAK
to an Address (AGU)
Description
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
Example
break _label
Note: The assembler has calculated the displacement $C to increment the program counter from its value
at the BREAK ($0000 0014) to its value at _label ($0000 0020). LF3 is cleared by the break.
Operation Assembler Syntax
PC + displacement PC
0 LFn
BREAK label
BREAK label
Exits the active loop n unconditionally before the active loop counter (LCn) equals one, and clears the
active loop flag. The program execution continues at “label.” The displacement, calculated by the
assembler and linker, is a two’s complement integer that represents the relative distance from the current
PC to the destination label. Some programming rules apply to the use of this instruction. If no loops are
enabled, this instruction is undefined.
Register Address Bit Name Description
SR[30:27] LF[3:0] Determines which loop is active.
Register Address Bit Name Description
SR[30:27] LF[3:0] Clear active loop flag.
Register/Memory Address Before After
_label (displacement)
$0000 000C
PC
$0000 0014 $0000 0020
SR
$40E0 0000 $00E0 0000
Vista de pagina 416
1 2 ... 412 413 414 415 416 417 418 419 420 421 422 ... 759 760

Comentarios a estos manuales

Sin comentarios