Skip to content

VittalAB/Linker-Loader-Algo-Implementation

Repository files navigation

Linking Loader Implementation in CPP

Instructions for executing the file

  1. First run the Linking_Loader_PASS1.cpp file using the cmd -> g++ Linking_Loader_PASS1.cpp -o p1.exe
  2. Next run the cmd ./p1 in powershell windows.
  3. Or run the cmd p1.exe in cmd anyone should work fine.
  4. You can give your own objcode as input.

Assumptions

  1. Algorithm is followed from the text book.
  2. Objcode should be same as given in the directory with ^ symbol else you need to modify the code internally.

IMPLEMENTATION OF LINKING LOADER PASS-1 ALGORITHM

INPUT :- OBJECT PROGRAM WITH CONTROL SECTIONS.

OUTPUT :- ESTAB i.e EXTERNAL SYMBOL TABLE WHICH HAS SYMBOL NAME AND ADDRESS ALONG WITH LENGTH.

CODER :- VITTAL A B

DATE :- 08/12/21

TIME :- 5:35 PM

REFERENCE FOR ALGORITHM FOR IMPLEMENTATION

SYSTEM SOFTWARE :- INTRODUCTION TO SYSTEMS PROGRAMMING

Get Algorithm here https://github.com/VittalAB/Linking-Loader-Algo-Implementation/wiki/Linking-Loader-Pass1-Algorithm.