Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Caller-saved register, callee-saved register?

Também chamado de: 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.

Ler no capítulo →