System programming
-
Upload
jayashri-kolekar -
Category
Education
-
view
170 -
download
0
Transcript of System programming
05/01/2023 jaya 3
IntroductionTwo types of software
System software designed to operate and control the computer
hardware Example: OS ,assembler
application software are often called productivity programs or end-user
programs because they enable the user to complete tasks such as creating documents, spreadsheets, databases, and publications ,etc .
Example: word processor, database program,IRCTC.
05/01/2023 jaya 4
IntroductionNeed of system Software:-
To achieve effective 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.
05/01/2023 jaya 5
IntroductionApplication of system software:-
It increases the productivity of computer
translate normal language into machine language.
efficient management of various resources.
manages multiprocessing, paging, segmentation, resource allocation.
Operating system and File systems allow flexible storing and retrieval of information
05/01/2023 jaya 6
IntroductionComponents of system programming:-
Interpreter AssemblerCompiler Macros and microprocessor Formal systemsDebuggerLinkersOperating system.
05/01/2023 jaya 8
Macros a single instruction that expands
automatically into a set of instructions to perform a particular task.
used as general text handlers and for specializing operating system
To design OS.Macro processor processes macro(macro
call and macro expansion)
05/01/2023 jaya 9
Macros Example
::
ADD 1, DATAADD 2, DATAMEND
:ADD 1, DATAADD 2, DATA
:DATA DC F’5’
05/01/2023 jaya 10
Macros Example(Macro definition)SyntaxexampleMACRO MACROMACRO NAME INCRINSTRUCTION 1 A 1, DATAINSTRUCTION 2 A 2, DATA...MEND MEND
05/01/2023 jaya 12
Macros Example(Macro call)Macro call(SYNTAX) macro call(example)MACRO MACROMACRO NAME INCRINSTRUCTION 1 ADD 1, DATAINSTRUCTION 2 ADD 2, DATA::MEND MEND:INSTRUCTION ADD 3, DATA:MACRO NAME INCR:: DATA DC F’5
05/01/2023 jaya 14
EVOLUTION OF SYSTEM SOFTWARE:-The earliest computers were entirely programmed in a
M/C language.
Programmer hand assemble into machine code.
Use of assembler
Use of relocating loaders
Linkers
Multiple copies of the same program run at the same time.
05/01/2023 jaya 15
EVOLUTION OF OPERATING SYSTEM:-It is the software which manages hardware of
the computer and provides those resources, through an API, to application programs.
FORTRAN
Batch Operating System:
Multiprogramming :
05/01/2023 jaya 16
EVOLUTION OF OPERATING SYSTEM:-FORTRAN
place the FORTRAN compiler (green deck) in the card hopper
Place source code deck into the card hopper and punch object code on red card.
Load a pink deck of cards marked “loader”Place newly translated object deck in the card
hopperPlace the card of subroutine in card hopperthe loader would transfer execution to the users
program & add data card
05/01/2023 jaya 17
EVOLUTION OF OPERATING SYSTEM:-FORTRAN disadvantages
Waste of computer timeBatch operating system
advantages facility to batch jobs was provided Utilization of computer time
Disadvantages inefficient management of resources Costly Memory wastage