Texas-instruments TMS320C3x Manual do Utilizador Página 183

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 757
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 182
System and User Stack Management
6-30
6.10.2 Stacks
Stacks can be built from low to high memory or high to low memory. Two cases
for each type of stack are shown. Stacks can be built using the preincrement/
decrement and postincrement/decrement modes of modifying the auxiliary
registers (AR). Stack growth from high-to-low memory can be implemented in
two ways:
CASE 1: Stores to memory using *–AR
n
to push data onto the stack and
reads from memory using *AR
n
++ to pop data off the stack.
CASE 2: Stores to memory using *AR
n
to push data onto the stack and
reads from memory using * ++AR
n
to pop data off the stack.
Figure 6–10 illustrates these two cases. The only difference is that in case 1,
the AR always points to the top of the stack, and in case 2, the AR always points
to the next free location on the stack.
Figure 6–10. Implementations of High-to-Low Memory Stacks
Top of stack
Low memory
High memory
(Free)
Bottom of stack
AR
n
Top of stack
Low memory
High memory
(Free)
Bottom of stack
Case 1 Case 2
AR
n
Stack growth from low-to-high memory can be implemented in two ways:
CASE 3: Stores to memory using *++AR
n
to push data onto the stack and
reads from memory using *AR
n
to pop data off the stack.
CASE 4: Stores to memory using *AR
n
++ to push data onto the stack and
reads from memory using *– AR
n
to pop data off the stack.
Figure 6–11 shows these two cases. In case 3, the AR always points to the top
of the stack. In case 4, the AR always points to the next free location on the stack.
Vista de página 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 756 757

Comentários a estes Manuais

Sem comentários

Apricorn Discos de estado sólido manuales de usuario

La lista de productos de Apricorn Discos de estado sólido contiene 2 manuales de usuario para 2 seleccionados. Todas las guías de usuario en pdf están disponibles para descargar o ver en línea.

Haga clic en el alfabeto a continuación para desplazarse a la lista completa de modelos que comienzan con esa letra

Modelos Tipo de documento
128GB Aegis Bio 3.0 SSD
Manual de usuario   Apricorn 128GB Aegis Bio 3.0 SSD, 16 paginas
Aegis Padlock 240GB
Guía de usuario   Apricorn Aegis Padlock 120GB, 19 paginas