Mail Archives: djgpp/1999/01/31/13:50:56
Eli Zaretskii wrote:
> Is anything wrong with section 17.4?
DS, ES, FS, GS ??
I would also mention EBP. Never underestimate a programmer's
tendancy to jump in without the expected background knowledge.
I am nearly certain that a routine called from C must
preserve DS, and ES. I *think* it may clobber FS and GS.
It is probably to obvious to deserve mention, but it
must preserve CS and SS as well and must follow normal
subroutine return conventions regarding ESP and EIP.
You might even mention the direction bit in EFLAGS (It
can be clobbered, right?).
--
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/
- Raw text -