ARM VERSION 1.2 Guía de usuario Pagina 16

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 133
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 132 133

Comentarios a estos manuales

Sin comentarios