Mail Archives: djgpp/1999/02/02/18:51:10
> > ax,cx,dx,sp,st0-7,sw,cw - can be used without saving
>
> sp? Well we all know esp is its own special case and
> its behavior in standard "C" calling conventions is
> clear. I find it strange that you would class it with
> ax,cx,dx.
I suppose it should be in the bx,si,di,bp list, then. Is anyone
writing this down? ;-)
> > bx,si,di,bp - must be preserved
> > gs - used by libc, but need not be preserved if you change it
>
> "used by libc": Used and preserved? or Used and not preserved?
libc does not attempt to preserve gs when it uses it. It's in the
ax,cx,dx category.
- Raw text -