Chapter 3 Introduction to OperationBasic Operation of Assembler and Linker 27LinkLink the two relocatable object files to generate an executable format file. A map file will be generatedalong with the executable format file at this time.ld103 -m -T_CODE=40000000 program1.rf program2.rfm option Option to output map file.T option Option to specify section address.The above command line links two relocatable object files (program1.rf and program2.rf) and createsan executable file (m103.ex) and a map file (m103.map) in the current directory.Supplemental Explanation:The -o option is also available for specifying a different output file name anddirectory for the executable file. Omitting this option results in the use of thedefault name m103 and the extension .ex. There is no option for specifyingthe name of the map file. It uses the same default name as the executablefile, m103, and the extension .map. The output directory is the same as thatused for the executable file.Generate final list filesAfter link processing is complete, generate the final list files using the map file (m103.map).as103 -l -a m103.map program1.asmas103 -l -a m103.map program2.asml option Option to output a list file.a option Option to read a map file. Specify the map file name after it.This operation will generate the final list files (program1.lst and program2.lst) in the current directory.With the above operations, you can generate an executable format file and final list files in the currentdirectory.You must generate the final list files using the map file after linking. This is because linking determinesthe start addresses of sections following the T option for files in section address format. In addition,there may be addresses unresolved until after link processing due to forward references, optimization,etc. (Refer to chapter 4, "Optimization".)