ARM VERSION 1.2 Betriebsanweisung Seite 16

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 133
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 15
Note
The names __ARM_stack_overflow and __Thumb_stack_overflow are illustrative and do not correspond to
any actual implementation.
Routine using more than 256 bytes of stack
In this case, a new value of sp must be proposed to the limit-checking code using a sequence such as the following:
SUB ip, sp, #size ; ARM code version
CMP ip, sl
BLLO __ARM_stack_overflow
or in Thumb code:
LDR r7, #-size ; Thumb code version
ADD r7, sp
CMP r7, sl
BLLO __Thumb_stack_overflow
This is necessary to ensure that sp cannot become less than the lowest usable address in the stack.
Note
The names __ARM_stack_overflow and __Thumb_stack_overflow are illustrative and do not correspond to
any actual implementation.
Using the Procedure Call Standard
Copyright ?1999 2001 ARM Limited 2-8
Seitenansicht 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 132 133

Kommentare zu diesen Handbüchern

Keine Kommentare