C86 .asm files HELP [message #112587] |
Mon, 16 September 2013 13:48 |
|
Originally posted by: cnrdean@ucbtopaz.CC.Berkeley.ARPA
Message-ID: <636@ucbtopaz.CC.Berkeley.ARPA>
Date: Sat, 12-Jan-85 15:42:25 EST
Article-I.D.: ucbtopaz.636
Posted: Sat Jan 12 15:42:25 1985
Date-Received: Tue, 15-Jan-85 00:40:45 EST
Organization: Univ. of Calif., Berkeley CA USA
Lines: 20
I am using the C86 C Compiler on a PC. I need some information
this weekend if possible; so I can't call CI.
I want to use the 'loadexec' function provided in the dos2.arc.
However, it is an assembly language program (loadexec.asm). I
have never used assembly language programs with C86 before, and
don't have a clue how to.
My guess is that I have to assemble it with some assembler to
create a '.obj' file, and then link with the linker. I already
know how to do the latter part with the compiled C routines.
But, I don't know how to assemble the loadexec.asm. I don't have
any assembler (as far as I know). All I have besides C86 stuff
is dos 2.10.
Thanks, in advance.
Sam Scalise
UC Berkeley
|
|
|
Re: C86 .asm files HELP [message #112594 is a reply to message #112587] |
Mon, 16 September 2013 13:48 |
hohensee
Messages: 23 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Message-ID: <24700094@uiucdcs.UUCP>
Date: Tue, 15-Jan-85 01:48:00 EST
Article-I.D.: uiucdcs.24700094
Posted: Tue Jan 15 01:48:00 1985
Date-Received: Wed, 16-Jan-85 04:59:24 EST
References: <636@ucbtopaz.UUCP>
Lines: 8
Nf-ID: #R:ucbtopaz:-63600:uiucdcs:24700094:000:294
Nf-From: uiucdcs!hohensee Jan 15 00:48:00 1985
Sam, why is it that you think (thought) that you had to
reassemble the loadexec function? Were you going to make
some modifications to it? If you simply planned on using
it in some C program that you wrote, why not link as you
would normally with the C86S2S.LIB?
Sorry, I don't understand.
|
|
|
Re: C86 .asm files HELP [message #112604 is a reply to message #112587] |
Mon, 16 September 2013 13:48 |
al
Messages: 168 Registered: May 2013
Karma: 0
|
Senior Member |
|
|
Message-ID: <240@psivax.UUCP>
Date: Tue, 15-Jan-85 20:42:53 EST
Article-I.D.: psivax.240
Posted: Tue Jan 15 20:42:53 1985
Date-Received: Fri, 18-Jan-85 01:22:29 EST
References: <636@ucbtopaz.CC.Berkeley.ARPA>
Reply-To: al@psivax.UUCP (Al Schwartz)
Organization: Pacesetter Systems Inc., Sylmar, CA
Lines: 12
Summary:
The source code for the loadexec function may be in .asm but the object code
for it should already be in one of the libraries supplied with the compiler.
The library will be a file with a name such as "C86S2S.LIB" (the library for
DOS 2.0 calls, small model and software emulation on IEEE floating point
numbers). Try linking to the library and see if you get an unresolved
reference called loadexec. I bet you wont. You will only need the assembler
if you wish to make changes to the source code.
--
Antipasto tastes better than Toe-Jam! Al Schwartz
Pacesetter Systems Inc., Sylmar, CA
{trwrb|allegra|burdvax|cbosgd|hplabs|ihnp4|sdcsvax}!sdcrdcf!psivax!al
|
|
|