Date post: | 23-Dec-2015 |
Category: |
Documents |
Upload: | natalie-daniel |
View: | 213 times |
Download: | 0 times |
1
Presentation on
System Programming Course Code:- CM5G
Subject Teacher :- Mr. Pankaj M Ughade
Dept :- Computer Technology
G. H. Raisoni polytechnic college, Nagpur
Lecture No.: 1
UNIT 01: Introduction to System
Programming
What is System?
◦ System is the collection of various components.◦ Ex:- College is a system
What is Programming?
◦ Art of designing and implementing the programs.
Introduction
Software is collection of many programs. Two types of software:
◦ System software-These programs assist general use
application programs.Ex:- Operating System , Assembler etc.
◦ Application software- These are the software developed for the
specific goal.
What is Software ?
System Program:
◦ “These are programs which are required for the effective execution of general user programs on computer system.”
System Programming:-
◦ “ It is an art of designing and implementing system programs.”
Assembler Compiler Macros and Microprocessors Linkers And Loader
Components of System Software
These are the system programs that converts the source program into computer understandable language.
Types of translators-◦ Single Pass translator◦ Multi Pass translator
Translators
Assembler:- These are the system programs which will
automatically translate the assembly language program into the machine language program.
Translators
Assembler
Database
Source programAssembly Lang. Prog.
Target program /M/C Lang. Prog.
Lecture No.: 2
Complier:- These are the system programs which will
automatically translate the High level language program into the machine language program.
Translators
Compiler
Database
Source programHigh level Lang. Prog.
Target program /M/C Lang. Prog.
Cross Assembler:- These are the system programs which will
automatically translate the Assembly Language program compatible with M/C A, in to the machine language program compatible with M/C A, but the underlying M/C is M/C B
Translators
Cross AssemblerSource programAssembly Lang. Prog. Compatible with M/C A
Target program /M/C Lang. Prog. Compatible with M/C A
M/C B
Cross Compiler:- These are the system programs which will
automatically translate the HLL program compatible with M/C A, into the machine language program compatible with M/C A , but the underlying M/C is M/C B
Translators
Cross CompilerSource programHLL Prog. Compatible with M/C A
Target program /M/C Lang. Prog.
M/C B
Interpreter◦ It is the language translator which execute source
program line by line with out translating them into machine language.
Types of Interpreter◦ Pure Interpreter
In this case no preprocessing is required on source program before an interpretation starts.
Some preprocessing is required on source program before an interpretation starts.
Translators
Lecture No.: 3
A Loader is system program that place the object program into main memory and prepares it for execution.
Basic functions of loader◦ Allocation◦ Linking ◦ Relocation◦ Loading
Loader
Compile-and-go Loader Relocating Loader Direct Linking Loader Absolute Loader General Loader Dynamic Loader
Types of Loader
Macro◦ Macro is a single line abbreviation for a group of
instruction.
MACRO --------Start of definition INCR -------- Macro name
A 1,DATAA 2,DATA Sequence of instructions to
be abbreviated.A 3,DATAMEND -------- End of definition
Macro & Macro processor
Linking◦ The Process of merging many object modules to
form a single object program is called as linking.
• Linker The Linker is the software program which binds
many object modules to make a single object program.
Linking and Linker
Lecture No.: 4
The basic need of system software is to achievethe following goals :-
To achieve efficient performance of the system.
To make effective execution of general user program.
To make effective utilization of human resources.
To make available new, better facilities.
Goal Of System Software
It is the collection of system programs which acts as an interface between user and the computer and computer hardware.
The purpose of an operating system is to provide an environment in which a user can execute programs in a convenient manner.
Evolution of System Software & Operating System
File handling and management. Storage management (Memory
management). Device scheduling and management. CPU scheduling. Information management. Process control (management). Error handling Protecting itself from user & protecting user
from other users.
Functions of Operating System
Foundation of System programming, machine Structure
File systemI/O
Program LibrariesSchedule
rDevice
managementMemory
Management
Text EditorsLoader Searching And Sorting
Debugging aids
AssemblersCompilers Micro Processor
Application Programming
People
Fig: Foundation Of System programming
Machine Structure
Memory
I/O Processor
I/O Processor CPUCPU
Card Read/Punch
Disk or
Drum
PrinterTeletype
Fig: General hardware Organization of Computer system
We begin by sketching the general hardware organization of a computer system .
Memory is the device where information is stored.
Processors are the devices that operate on this information.
Each one or zero is a separate binary digit called a bit.
Bits are typically group in units that are called words, characters, or bytes.
1. What is system software? (Sum-10,11)
2. Define the system software? (Sum-10,11)
3. List the various application of system software. (Sum-10,11,12)
4. Write note on component of system software? (Sum-10,12,13, Win-12,13,)
5. Explain the foundation of system programming ? (Sum-12,13, Win-12,13,)
Important Questions
1. Explain the evolution of system software. (Sum-13, Win-13)
2. Define the terms- 1. Compiler2. Assembler3. Loader4. Macros (Sum-10,12,13, Win-12,13,)