Freescale-semiconductor StarCore SC140 Uživatelský manuál Strana 274

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 760
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 273
7-24 SC140 DSP Core Reference Manual
Static Programming Rules
This rule applies to instructions that use the stack pointer (implicitly or explicitly), since SR affects which
stack pointer is used (EXP status bit).
A MOVE-like instruction that writes the SR register may be followed by a MOVE-like instruction that
reads the SR register, if not affected by a SR status bit.
The assembler-mapped instruction CLR Dn is never affected by SR status bits, even though it is
implemented as SUB Da,Da,Dn. Therefore, this rule applies to the SUB instruction, but not to CLR (SUB
Da,Da,Dn is taken as CLR in this context).
Zobrazit stránku 273
1 2 ... 269 270 271 272 273 274 275 276 277 278 279 ... 759 760

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

Žádné komentáře