Contents    Page-10    Prev    Next    Page+10    Index   

Volatile Registers

By convention, some registers may be designated:

We will try to use only the registers %eax, %ecx, and %edx, since %ebx is callee-saved.

Any floating values that need to be preserved across a call must be saved on the stack prior to the call and restored afterwards. Routines are provided to save one floating register on the stack and restore it.