Date: Thu, 17 Feb 94 17:48:28 -0500 From: DJ Delorie To: joconnors AT cix DOT compulink DOT co DOT uk Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: djgpp & asm > I am trying to write assembler functions to be interfaced with optimized > djgpp code & finding it a frustrating experience. The stack frame is simple > to follow, but what registers to I need to save? Also, what labels need > to be included in my code -- gnu_compiled_c ? gcc_compiled ? /APP /NO_APP ? > > What function do these labels serve? Preserve ebx, esi, edi, ebp. Those labels are for gdb and peephole optimizers, so they can all be omitted. Look at the .s examples in the libsrc module if you like.