In the name of God...
-------------
Hi every one.

I Have to Files : Main.asm
Procs.asm

-------------------------------
In Main.asm I have written:

extrn INCHAR:Far,OUTCHAR:Far

And in Procs.asm I have written:

public INCHAR:Far,OUTCHAR:Far
      MyProcs Segment
        Assume CS:MyProcs

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
I am sure that there is No syntax Error in both source files.

But When I am going to Get obj file of Procs.asm, It gives me an error .


I will use this command : ML /c Procs.asm to get obj file
and ML /link Main.obj+Procs.obj
To get exe file

----------
There is no problem with Main.asm

what are the errors with procs.asm??? Instead of using ml to link the two object files why don't you just call link.exe directly?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.