SlideShare uma empresa Scribd logo
1 de 2
1. Objectives Understanding the meaning of a system software. Understanding the
concept of loaders Knowledge of different types loaders.
2. System Software
3. System Software The subject introduces the design and implementation of system
software System software consists of a variety of programs that support the operation
of a computer operating system, compiler, assembler, macro processor, loader or
linker, debugger, text editor, database management systems, software engineering
tools, ….
4. Loaders and Linkers
5. Role of Loader Source Program Translator Object Program Loader Object program
ready for execution Memory Translator – Assembler/Compiler
6. Role of Loader Source Program Assembler Object Program Loader Object program
ready for execution Memory
7. Role of Loader and Linker Source Program Assembler Object Program Linker
Executable Code Loader Object program ready for execution Memory
8. We know… Source Program – Assembly Language Object Program - From
assembler - Contains translated instructions and data values from the source program
Executable Code - From Linker Loader - Loads the executable code to the specified
memory locations and code gets executed.
9. We need… three processes Loading - which allocates memory location and brings
the object program into memory for execution - Loader Linking- which combines two
or more separate object programs and supplies the information needed to allow
references between them - Linker Relocation - which modifies the object program so
that it can be loaded at an address different from the location originally specified -
Linking Loader
10. Basic Loader Functions A Loader is a system program that performs the loading
function It brings object program into memory and starts its execution
11. Type of Loaders absolute loader bootstrap loader relocating loader (relative
loader)
12. Absolute Loader Operation is very simple The object code is loaded to specified
locations in the memory At the end the loader jumps to the specified address to begin
execution of the loaded program
13. Role of Absolute Loader Object Program Absolute Loader Object program ready
for execution Memory 1000 2000
14. Absolute Loader Advantage - Simple and efficient Disadvantage - the need for
programmer to specify the actual address - difficult to use subroutine libraries We
have algorithm – next slide
15. Object Program
16. Format-1(a) (in PowerPoint) Space for 2 inch x 2 inch size Picture Space for 2
inch x 2 inch size Picture
17. Object Code Representation Each byte of assembled code is given using its
hexadecimal representation in character form Easy to read by human beings Each byte
of object code is stored as a single byte Most machine store object programs in a
binary form We must be sure that our file and device conventions do not cause some
of the program bytes to be interpreted as control characters
18. A Simple Bootstrap Loader When a computer is first tuned on or restarted, a
special type of absolute loader, called bootstrap loader is executed This bootstrap
loads the first program to be run by the computer -- usually an operating system
19. Example (SIC bootstrap loader) The bootstrap itself begins at address 0 It loads
the OS starting address 0x80 No header record or control information, the object code
is consecutive bytes of memory
20. Machine-Dependent Loader Features Absolute Loader – Simple and efficient
Disadvantage is – programmer has to specify the starting address One program to run
– no problem – not for several Difficult to use subroutine libraries efficiently
21. Relocation Execution of the object program using any part of the available and
sufficient memory The object program is loaded into memory wherever there is room
for it The actual starting address of the object program is not known until load time
22. Relocating Loaders Efficient sharing of the machine with larger memory and
when several independent programs are to be run together Support the use of
subroutine libraries efficiently

Mais conteúdo relacionado

Destaque

Guia de-precios-compugreiff-agosto-01-al-04-2014
Guia de-precios-compugreiff-agosto-01-al-04-2014Guia de-precios-compugreiff-agosto-01-al-04-2014
Guia de-precios-compugreiff-agosto-01-al-04-2014xxxxx
 
Indicador sobre el manejo de las finanzas estatales en méxico
Indicador sobre el manejo de las finanzas estatales en méxicoIndicador sobre el manejo de las finanzas estatales en méxico
Indicador sobre el manejo de las finanzas estatales en méxicoEmmanuel Ameth
 
RAVELLO LAB 2014 | Massimo Bottini, Italia Nostra
RAVELLO LAB 2014 | Massimo Bottini, Italia NostraRAVELLO LAB 2014 | Massimo Bottini, Italia Nostra
RAVELLO LAB 2014 | Massimo Bottini, Italia NostraCreactivitas
 
Que es un módem
Que es un módemQue es un módem
Que es un módemlosrafel
 
Instalaciones Domoticas
Instalaciones DomoticasInstalaciones Domoticas
Instalaciones Domoticasreuza
 
Trabajo formas de poder!
Trabajo formas de poder!Trabajo formas de poder!
Trabajo formas de poder!Karen Lasso
 
Disco duro externo
Disco duro externoDisco duro externo
Disco duro externoPatoAchurra
 
La Parte EconóMica Del Plan De Empresa
La Parte EconóMica Del Plan De EmpresaLa Parte EconóMica Del Plan De Empresa
La Parte EconóMica Del Plan De EmpresaArgelia Garcia
 
Perfil individual de un emprendedor
Perfil individual de un emprendedorPerfil individual de un emprendedor
Perfil individual de un emprendedorhistoria22
 
Dictamen de riesgo
Dictamen de riesgoDictamen de riesgo
Dictamen de riesgoCECY50
 
男人五十
男人五十男人五十
男人五十honan4108
 
졸작아이디어2
졸작아이디어2졸작아이디어2
졸작아이디어2henni31
 

Destaque (20)

Guia de-precios-compugreiff-agosto-01-al-04-2014
Guia de-precios-compugreiff-agosto-01-al-04-2014Guia de-precios-compugreiff-agosto-01-al-04-2014
Guia de-precios-compugreiff-agosto-01-al-04-2014
 
Indicador sobre el manejo de las finanzas estatales en méxico
Indicador sobre el manejo de las finanzas estatales en méxicoIndicador sobre el manejo de las finanzas estatales en méxico
Indicador sobre el manejo de las finanzas estatales en méxico
 
Bicicleta tecnologia
Bicicleta tecnologiaBicicleta tecnologia
Bicicleta tecnologia
 
RAVELLO LAB 2014 | Massimo Bottini, Italia Nostra
RAVELLO LAB 2014 | Massimo Bottini, Italia NostraRAVELLO LAB 2014 | Massimo Bottini, Italia Nostra
RAVELLO LAB 2014 | Massimo Bottini, Italia Nostra
 
Que es un módem
Que es un módemQue es un módem
Que es un módem
 
Ud3ethernet
Ud3ethernetUd3ethernet
Ud3ethernet
 
Los microprocesadores
Los microprocesadoresLos microprocesadores
Los microprocesadores
 
Resumen de Redes IP y sus Clases
Resumen de Redes IP  y sus ClasesResumen de Redes IP  y sus Clases
Resumen de Redes IP y sus Clases
 
Instalaciones Domoticas
Instalaciones DomoticasInstalaciones Domoticas
Instalaciones Domoticas
 
Trabajo formas de poder!
Trabajo formas de poder!Trabajo formas de poder!
Trabajo formas de poder!
 
Liz
LizLiz
Liz
 
Disco duro externo
Disco duro externoDisco duro externo
Disco duro externo
 
Tarjetas madre
Tarjetas madreTarjetas madre
Tarjetas madre
 
Cp fevrier 2014
Cp fevrier 2014Cp fevrier 2014
Cp fevrier 2014
 
La Parte EconóMica Del Plan De Empresa
La Parte EconóMica Del Plan De EmpresaLa Parte EconóMica Del Plan De Empresa
La Parte EconóMica Del Plan De Empresa
 
Perfil individual de un emprendedor
Perfil individual de un emprendedorPerfil individual de un emprendedor
Perfil individual de un emprendedor
 
Dictamen de riesgo
Dictamen de riesgoDictamen de riesgo
Dictamen de riesgo
 
男人五十
男人五十男人五十
男人五十
 
졸작아이디어2
졸작아이디어2졸작아이디어2
졸작아이디어2
 
Mitos y realidades en torno a la educación
Mitos y realidades en torno a la educaciónMitos y realidades en torno a la educación
Mitos y realidades en torno a la educación
 

Semelhante a Loaders

Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming ) Adarsh Patel
 
Hm system programming class 1
Hm system programming class 1Hm system programming class 1
Hm system programming class 1Hitesh Mohapatra
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader ExplainedAdarsh Kr Sinha
 
linker & loader presentation in Compiler Design
linker & loader presentation in Compiler Designlinker & loader presentation in Compiler Design
linker & loader presentation in Compiler DesignAbhishekKumar117405
 
Overall 23 11_2007_hdp
Overall 23 11_2007_hdpOverall 23 11_2007_hdp
Overall 23 11_2007_hdpMohd Arif
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkerskunj desai
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its typesParth Dodiya
 
system prgramming - loaders-linkers.pdf
system prgramming - loaders-linkers.pdfsystem prgramming - loaders-linkers.pdf
system prgramming - loaders-linkers.pdfSATHYABAMAMADHANKUMA
 
System software module 3 presentation file
System software module 3 presentation fileSystem software module 3 presentation file
System software module 3 presentation filejithujithin657
 
System software module 3 presentation file
System software module 3 presentation fileSystem software module 3 presentation file
System software module 3 presentation filejithujithin657
 
Nike pop up habitat
Nike pop up   habitatNike pop up   habitat
Nike pop up habitatChef
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpretersshivasdhtsvmic
 

Semelhante a Loaders (20)

Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
 
Loaders
LoadersLoaders
Loaders
 
Hm system programming class 1
Hm system programming class 1Hm system programming class 1
Hm system programming class 1
 
Unit 3
Unit 3Unit 3
Unit 3
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader Explained
 
linker & loader presentation in Compiler Design
linker & loader presentation in Compiler Designlinker & loader presentation in Compiler Design
linker & loader presentation in Compiler Design
 
Linker and Loader
Linker and Loader Linker and Loader
Linker and Loader
 
Overall 23 11_2007_hdp
Overall 23 11_2007_hdpOverall 23 11_2007_hdp
Overall 23 11_2007_hdp
 
linkerloader ss-2.pptx
linkerloader ss-2.pptxlinkerloader ss-2.pptx
linkerloader ss-2.pptx
 
Handout#12
Handout#12Handout#12
Handout#12
 
Loaders and Linkers
Loaders and LinkersLoaders and Linkers
Loaders and Linkers
 
Loader and Its types
Loader and Its typesLoader and Its types
Loader and Its types
 
Loaders
LoadersLoaders
Loaders
 
loaders and linkers
 loaders and linkers loaders and linkers
loaders and linkers
 
system prgramming - loaders-linkers.pdf
system prgramming - loaders-linkers.pdfsystem prgramming - loaders-linkers.pdf
system prgramming - loaders-linkers.pdf
 
System software module 3 presentation file
System software module 3 presentation fileSystem software module 3 presentation file
System software module 3 presentation file
 
System software module 3 presentation file
System software module 3 presentation fileSystem software module 3 presentation file
System software module 3 presentation file
 
Nike pop up habitat
Nike pop up   habitatNike pop up   habitat
Nike pop up habitat
 
Srgoc java
Srgoc javaSrgoc java
Srgoc java
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpreters
 

Loaders

  • 1. 1. Objectives Understanding the meaning of a system software. Understanding the concept of loaders Knowledge of different types loaders. 2. System Software 3. System Software The subject introduces the design and implementation of system software System software consists of a variety of programs that support the operation of a computer operating system, compiler, assembler, macro processor, loader or linker, debugger, text editor, database management systems, software engineering tools, …. 4. Loaders and Linkers 5. Role of Loader Source Program Translator Object Program Loader Object program ready for execution Memory Translator – Assembler/Compiler 6. Role of Loader Source Program Assembler Object Program Loader Object program ready for execution Memory 7. Role of Loader and Linker Source Program Assembler Object Program Linker Executable Code Loader Object program ready for execution Memory 8. We know… Source Program – Assembly Language Object Program - From assembler - Contains translated instructions and data values from the source program Executable Code - From Linker Loader - Loads the executable code to the specified memory locations and code gets executed. 9. We need… three processes Loading - which allocates memory location and brings the object program into memory for execution - Loader Linking- which combines two or more separate object programs and supplies the information needed to allow references between them - Linker Relocation - which modifies the object program so that it can be loaded at an address different from the location originally specified - Linking Loader 10. Basic Loader Functions A Loader is a system program that performs the loading function It brings object program into memory and starts its execution 11. Type of Loaders absolute loader bootstrap loader relocating loader (relative loader) 12. Absolute Loader Operation is very simple The object code is loaded to specified locations in the memory At the end the loader jumps to the specified address to begin execution of the loaded program 13. Role of Absolute Loader Object Program Absolute Loader Object program ready for execution Memory 1000 2000 14. Absolute Loader Advantage - Simple and efficient Disadvantage - the need for programmer to specify the actual address - difficult to use subroutine libraries We have algorithm – next slide 15. Object Program 16. Format-1(a) (in PowerPoint) Space for 2 inch x 2 inch size Picture Space for 2 inch x 2 inch size Picture 17. Object Code Representation Each byte of assembled code is given using its hexadecimal representation in character form Easy to read by human beings Each byte of object code is stored as a single byte Most machine store object programs in a binary form We must be sure that our file and device conventions do not cause some of the program bytes to be interpreted as control characters 18. A Simple Bootstrap Loader When a computer is first tuned on or restarted, a special type of absolute loader, called bootstrap loader is executed This bootstrap loads the first program to be run by the computer -- usually an operating system
  • 2. 19. Example (SIC bootstrap loader) The bootstrap itself begins at address 0 It loads the OS starting address 0x80 No header record or control information, the object code is consecutive bytes of memory 20. Machine-Dependent Loader Features Absolute Loader – Simple and efficient Disadvantage is – programmer has to specify the starting address One program to run – no problem – not for several Difficult to use subroutine libraries efficiently 21. Relocation Execution of the object program using any part of the available and sufficient memory The object program is loaded into memory wherever there is room for it The actual starting address of the object program is not known until load time 22. Relocating Loaders Efficient sharing of the machine with larger memory and when several independent programs are to be run together Support the use of subroutine libraries efficiently