No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Définition de «Stack Pointer»

Stack Pointer
Angl : SP, Stack Pointer.
Fr : registre pointeur de pile.

Registre ou variable pointant vers le haut d'une lifo. A chaque fois qu'un élément est déposé dans la pile, ce pointeur est incrémentation d'une quantité égale à la taille de ce qu'on a empilé. De cette façon, il pointera vers la zone mémoire suivante dans laquelle on pourra écrire. Quand un élément est retiré de la pile, ce pointeur est décrémenté de la même quantité.

Dans une micro architecture, le registre pointeur de pile simule une pile par une zone mémoire réservée dans la main memory.
Le fonctionnement du Stack Pointer Register est identique à celui d'un mar pour la partie pile de la mémoire RAM. Lorsqu'un mot est chargé dans la pile, son adresse est mémorisée dans le SP, ce qui fait qu'il pointe toujours vers le sommet de la pile.

Catégories

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 19/03/2002, last modified the 03/02/2021
Source of the printed document:https://www.gaudry.be/en/glossaire/stack-pointer

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.