Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Caller-saved register, callee-saved register » ?

Aussi appelé : caller-saved register · callee-saved register

Definition 10.13 University Computer Science — Year 2 · Chapitre 10 — Assembly Language and the Calling Convention

A caller-saved register (t0–t6, a0–a7, ra) may be changed by any call: a caller that needs its value after the call must save it first. A callee-saved register (s0–s11, sp) must have the same value after the call as before: a function that uses one saves it on entry and restores it before returning.

Lire dans le chapitre →