And third, a linker that generates the executable program from the object program. The editor can be any text editor at hand, and as a compiler we will use the TASM macro assembler from Borland, and as a linker we will use the Tlink program. The linker generates, from a .OBJ or a combination of several of these files, an executable program, whose extension usually is .EXE though it can also be .COM, depending of the form it was assembled. To build assembler programs using TASM programs is a different program structure than from using debug program.
First step use any editor program to create the source file.
Third step Use the TASM program to build the object program. The TASM can only create programs in .OBJ format, which are not executable by themselves, but rather it is necessary to have a linker which generates the executable code. This generates a file directly with the name of the intermediate program and the .EXE extension. Remember, this assembler program changes the size of the cursor. Segments The architecture of the x86 processors forces to the use of memory segments to manage the information, the size of these segments is of 64kb.