college of engineering, nashikms dos compilers and assembler produce object modules. object module...

18
Pune Vidyarthi Griha’s COLLEGE OF ENGINEERING, NASHIK 4. LOADER ” By Prof. Anand N. Gharu (Assistant Professor) PVGCOE Computer Dept. 08th Jan 2018 .

Upload: others

Post on 15-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

Pune Vidyarthi Griha’s

COLLEGE OF ENGINEERING, NASHIK – 4.

“ LOADER ”

By

Prof. Anand N. Gharu (Assistant Professor)

PVGCOE Computer Dept.

08th Jan 2018 .

Page 2: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

CONTENTS :-

1. Introduction

2. Loader Schemes

- Compile & Go Loader

- General Scheme Loader

- Absolute Loader

- Subroutine Linkage

- Relocatable Loader

- Direct Linking Loader

3. Overlay Structure

4. Implementation of MS-DOS LINKER

Page 3: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

Introduction BASIC FUNCTION OF LOADER :-

- Allocation

- Linking

- Relocation

- loading

Page 4: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

• .

BASIC FUNCTION OF LOADER

Page 5: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

GENERAL LOADING SCHEME

Page 6: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

RELOCATION

Page 7: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

LOADING SCHEMES

Page 8: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

1. COMPILE AND GO LOADER

Page 9: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

2. GENERAL LOADER SCHEME

Page 10: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

3. ABSOLUTE LOADER

Page 11: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

4. SUBROUTINE LINKAGE

Page 12: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

5. RELOCATING LOADER

Page 13: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

6. DIRECT LINKING LOADER

Page 14: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain
Page 15: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

OVERLAY STRUCTURE

Page 16: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

Implementation of MS-DOS LINKER

Page 17: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain
Page 18: COLLEGE OF ENGINEERING, NASHIKMS DOS compilers and assembler produce object modules. object module is a sequence of object records. There are 14 of object records. These œcords contain

Thank You

1/22/2018 18

[email protected]