prev, up, next.
Assembling the source file into an object file
The assembler that I will be using is the Borland Turbo Assembler.
Invoke it by typing tasm. If you don't give it the
arguments it expects, it will ask you for what it needs. What you're
going to get at the end of the assembly is an object file,
which under DOS has an .obj extension. (Under Unix, it
has an .o extension.) You can't run this by itself; it
has to be linked into an executable. The reason for this is twofold:
(a) each source file assembles into its own object file; therefore if
you want to build an executable from multiple source files, you will
have multiple object files also, and (b) you may want to use functions
from external libraries (files with a .lib extension
under DOS and a .a or .so extension under
Unix which are simply a bunch of object files glommed together) and
you will need to link these into your executable.
prev, up, next.