Command mode in 8085 Microprocessor


We have seen previously that the linker is invoked in three modes i.e. they are command line mode, prompt mode and data file mode. For the linker to be run in this mode we type ‘LINK85 -C MULT.OBJ<cr>’ along with the change of address. In the above command simply “MULT” is enough instead of the command ‘MULT.OBJ’. We run the linker in this Command Mode type as by simply the following steps: Simply ‘MULT’ is more than enough instead of ‘MULT.OBJ’ in the command above. The linker in running command mode is indicated by the option -C. The command which generates the MULT.HEX file, will get the format of Intel Hex. Hence we respond with the address change <cr>, which generates a .HEX file. In the example, which we have cited, the file which is created by the linker must be MULT.HEX, which will be in the format of Intel HEX. Then we enter the name of the output file responding with the change of address, after that the linker prompts for the names of the library files which we respond with the change of address in simple lucid programs where there is no need of the names of the file names of the library. Then we enter the name of the output file responding with the change of address, after that the linker prompts for the names of the library files which we respond with the change of address in simple lucid programs where there is no need of the names of the file names of the library. We have seen in the Prompt Mode that after a series of process that linker prompts for any options of the linker. Hence we respond with the address change <cr>, which generates a .HEX file. In the example which we have cited, the file which is created by the linker must be MULT.HEX, which will be in the format of Intel HEX. Nearly same thing happens in the Command Mode.

In the following table different available options and its functionalities are depicted.

Option
Function
X8085 MULT-T
Displays listing on terminal. It pauses
 
when error is encountered
 
Continues when <cr> is pressed
X8085 MULT-P
Prints listing using printer
X8085 MULT-D
Generates .LST file on disk
X8085 MULT-ET
Displays only error listing on terminal
X8085 MULT-EP
Prints only error listing using printer
X8085 MULT-ED
Generates .LST file containing errors only

Updated on: 30-Jul-2019

467 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements