Mail Archives: djgpp/1996/12/11/18:57:01
In article <58jcu5$l6b AT leporello DOT cs DOT unibo DOT it>,
Nicola Gaggi <gaggi AT cs DOT unibo DOT it> wrote:
>John Beppu (beppu AT rigel DOT oac DOT uci DOT edu) wrote:
>
>: When linking a function written in assembly, which
>: registers should be preserved? I think ebp should,
>: but are there any others?
>
>
>Hello,
>
>The answer is simple, every register your function clobbers excluding AX
Damn. I didn't want to see that. When I dump the assembler output
of a function written in C, it doesn't look as if it preserves every
register it uses.
--
beppu AT uci DOT edu .............................................................
- Raw text -