Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Caller-saved register, callee-saved register?

Dikenal juga sebagai: caller-saved register · callee-saved register

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

Baca dalam konteks →