Introduction to System Programming
Introduction Types of software System software: Application software e.g. Scientific calculations, database applications, etc. Application software e.g. operating system compiler assembler Linker Loader Debugger etc. SVBIT
Overview of System software What is Operating System? Modules of Operating System Process Management Resource Management Memory Management Secondary storage Management User Management Security Management SVBIT
Compiler Lexical Analysis Syntax Analysis Semantic Analysis Intermediate Code Generation(three add. code) Code Optimization Common sub expression elimination Dead code elimination Loop optimization Target Code Generation(m/c lang.) Error Handling and Recovery Symbol table Management SVBIT
Assembler Covert assembly language program to machine code Cross Assembler Error messages Assembly language Program Assembler Object Module SVBIT
Linker Libraries Error messages Object module #1 Linker Object module #n Executable module SVBIT
Binary Image at an absolute address Loader Process of bringing an executable file produced by the linker from secondary storage in to primary storage. Shared Libraries One executable file Binary Image at an absolute address Loader SVBIT
Debugger Grammatically correct programs. Satisfy syntactic and semantic requirement. Sets breakpoint Can check the values of variables at certain points. SVBIT
Program development flow Start Distribute in to module Module1 Module2 Module3 Module n Compiler/ Assembler Object1 Object 2 Object3 n Linker Executable Modules Loader Process in memory Error Debugger Stop Lib. Module Shared Lib. yes No Program development flow SVBIT
END SVBIT