[comp.sys.ibm.pc] Calling a "C" function from assembl

don@trsvax.UUCP (10/24/88)

>	I have an assembly language program from which I want to 
>	call a "C" function.
>	I have way too much assembly to change. How do I do it?

You can let the C compiler generate the assembly code for you.  I'm using
MSC 5.0, and they have the /Fa option, which produces the corresponding
assembly language program.  Then all you have to do is edit the segments
to your liking.  If you don't have source, only objects, I don't believe
it can be done.  MSC does not provide any way to alter the segments from
their defaults.

% make me stop
don't know how to make me.  Stop.

Don Subt			The opinions expressed above are
Tandy Corp.			strictly mine, not my employer's.

817-390-3068			...!killer!ninja!sys1!trsvax!don