Linking a program-microprocessor, Assembly Language

Assignment Help:

Linking a program

The DOS linking program LINK.EXE links the different object modules of function library routines and source program to produce an integrated executable code of the source program. The major input to the linker  is the  .OBJ  file  that  have  the object  modules of the source programs. The other useful information may be obtained from the files produced by MASM. The linker program is invoked by using the following options.

C --> A> LINK or

C --> A> LINK KMB.OBJ

The .OBJ extension is ought to be for a file to be accepted by the LINK as a applicable object file. The first option may produced a display asking for the list file, object file and libraries as inputs and an expected name of the.EXE file to be produced. The other choice also generates the same display, but it will not ask for the .OBJ filename, as it is already declare at the command line. If any filenames are not entered for these files, by default, the source filename is referred with the different extensions. The process of entering the filenames in LINK is also similar to that in MASM. The LINK command display is as indicate in given Figure

The option input 'Libraries' in the display of given Figure expects any special library name of which the functions were used by the source program. Output of the LINK program is an executable file with the entered .EXE extension and filename. This executable filename can be entered further at the DOS prompt to execute the file.

In the advanced versions of MASM, the total procedure of assembling and linking is Joint under a single menu invokable compile function. The new versions of MASM have much more user-friendly and sophisticated facilities and choice that cannot be detailed here for the clear reasons. For further details users can refer to "Users' Manual-MASM, Version 5" and the Technical reference.

1458_linking prog.jpg


Related Discussions:- Linking a program-microprocessor

Introduction to evaluation, This unit introduces the topic of evaluating in...

This unit introduces the topic of evaluating interactive products. It is a short unit as evaluation is discussed in more detail in Block 4. Its brevity should give you additional t

Embeded programming, i want to develop traffic light system so which kind o...

i want to develop traffic light system so which kind of software is needed to develop this project?

The intel processors , The Intel Processors :         The Intel Co...

The Intel Processors :         The Intel Corporation is the biggest manufacturer  of microchips  in the world,  in addition  to being  the leading provider of chips for PCs. I

Assembling a program-microprocessor, Assembling a program Microsoft Ass...

Assembling a program Microsoft Assembler MASM is one of the simple to use and famous assemblers.  All the references and discussions in this section are belonging to the MASM.

Flag register-microprocessor, Flag Register : 8086 has a 16-bit flag r...

Flag Register : 8086 has a 16-bit flag register which is divided into 2 parts, viz. (a)machine control flagsand (b)condition code or status flags. The condition code flag regi

Physical memory mapped and port input output-microprocessor, Physical Memor...

Physical Memory Mapped I/O and Port I/O : CPU controlled I/O comes in 2 ways. Simply the difference is whether we utilize the normal memory addresses for I/O, this is mention

Rics/cisc architecture-microprocessor, RICS/CISC Architecture An essent...

RICS/CISC Architecture An essential aspect of computer architecture is the design of the instruction set for the processor.  The instruction set selected for a specific compute

Write a mips program that reads a string from user input, Description Wr...

Description Write a MIPS program that reads a string from user input, reverse each word (defined as a sequence of English alphabetic letters or numeric digits without any punctu

Register organization of 8086-microprocessor, Register Organization of 8086...

Register Organization of 8086 8086  has  a great  set  of registers  containing  special  purpose and general  purpose  registers.  All the 8086 resisters are 16-bit registers.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd