Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Caller-saved register, callee-saved register?

También llamado: caller-saved register · callee-saved register

Definition 10.13 University Computer Science — Year 2 · Capítulo 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.

Leer en el capítulo →