0% found this document useful (0 votes)
84 views138 pages

Final Unit 1 - SPOS Lect

The document discusses a course on system programming and operating systems. It includes the following: - An introduction unit that covers components of system software like editors, assemblers, compilers and debuggers as well as machine structure and assembly language. It also discusses the design of two-pass assemblers. - Course objectives like understanding system programming basics, compilers/tools, operating system functions like process management. - Course outcomes like analyzing system software, interpreting data structures, explaining OS utilities. - A mapping of the introduction unit to a course outcome about understanding system programming basics.

Uploaded by

asdhdahgad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views138 pages

Final Unit 1 - SPOS Lect

The document discusses a course on system programming and operating systems. It includes the following: - An introduction unit that covers components of system software like editors, assemblers, compilers and debuggers as well as machine structure and assembly language. It also discusses the design of two-pass assemblers. - Course objectives like understanding system programming basics, compilers/tools, operating system functions like process management. - Course outcomes like analyzing system software, interpreting data structures, explaining OS utilities. - A mapping of the introduction unit to a course outcome about understanding system programming basics.

Uploaded by

asdhdahgad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 138

ourse Contents

Unit I

Introduction

09 Hours

Introduction: Components of System Software: Text editors,
Loaders, Assemblers, Macro

processors, Compilers, Debuggers. Machine Structure,
Machine language and Assembly

Language. Assemblers: General design procedure, design of
two pass assembler
C302
System Programming
and
Operating System
(310251)
Course Objectives
1 : To understand basics of System Programming.
2: To learn and understand data structures used in
design of system software.
3: To learn and understand basics of compilers and
tools.
4: To understand functions of operating system,
process, resource and memory management.
5: To learn and understand I/O management
concepts.
Course Outcomes
(CO)
1. : To Analyze and synthesize system software.
2.: To interpret various data structures used in
compilers, linkers and loaders.
3. : To use and demonstrate Linux utility.
4.: To explain different utilities of operating
system.
5. : To summarize functionalities of I/O.
System Programming
and Operating
System

Unit I
Introduction
CO Mapped
Unit I :
1 : To understand basics of System Programming.

302.1 : To Analyze and synthesize system


software.
Introduction-unit 1

Introduction: Components of System Software:
Text editors, Loaders, Assemblers, Macro

processors, Compilers, Debuggers. Machine
Structure, Machine language and Assembly

Language. Assemblers: General design
procedure, design of two pass assembler
Basic Concepts

System : System is the collection of various components.


Programming - Art of designing and implementing the
programs.


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
System Programming

System programming involves designing and writing
computer programs that allow the computer hardware to
interface with the programmer and the user, leading to
the effective execution of application software on the
computer system.


system programs include the operating system
and firmware


programming tools such as compilers, assemblers,
I/O routines, interpreters, scheduler, loaders and linkers


runtime libraries of the computer programming
languages.
(like array....consequtative mem
allocation done )

e.g. A DS 5 (like aaray.....5 memeory location needed.... mem


named as A,A+1,A+2.....
Advanced Assembler Directives :-

1) ORIGIN :- The syntax of this directive is

ORIGIN < address spec >


This directive indicates that LC ( location counter ) should be set to
the address given by < address spec >.

The ORIGIN statement is useful when the target program does not consist of
consecutive memory words.

e.g ORIGIN 200 :- Location counter will shift to ROM location 200.
EQU :- The syntax of this directive is

< symbol > EQU < address spec


>

e.g A EQU 100 :- A is assigned to address spec


100.
LTORG :-
This directive is used to assign memory locations to immediate
value in between program. If we are not using LTORG then for
immediate value are getting locations after END statement.

e.g Program without LTORG Program with LTORG

START 300 LC START 300 LC

MOVER AREG, = ‘s’ 300 MOVER AREG, = ‘s’ 300

MOVEM BREG, R1 301 LTORG 301 = ‘5’

STOP 302 MOVEM BREG, R1 302

R1 DS 1 303 STOP 303

END 304 R1 DS 1 304

= ‘5’

You might also like