Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Caller-saved register, callee-saved register?

Ook bekend als: caller-saved register · callee-saved register

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

Lees in het hoofdstuk →