What registers need to be saved?
Posted: Wed Mar 19, 2003 5:00 pm
I know GCC doesn't want certain registers to be modified, but which ones?
I know it wants return in eax.
Should ebx, ecx.. etc. be saved? I know es, ds... etc. have to be saved..... because GCC doesn't want you to change them.
I know it wants return in eax.
Should ebx, ecx.. etc. be saved? I know es, ds... etc. have to be saved..... because GCC doesn't want you to change them.