SlideShare a Scribd company logo
CAO: UNIT-1
UNIT-1
Computer architecture: Means those attributes of a system visible to the programmer.
Computer organization: Refers to the operational units and their inter connections that
realize the architectural specifications.
Computer: A computer is fast electronic calculating machine that accepts digitalized
information from the user and processes it according to a sequence of instructions stored in
the internal storage and provides the processed information to the user.
• A sequence of instructions stored in the internal storage is called computer program.
• An internal storage is called memory.
• According to the size, cost computational power application computers are
classified as:
- Micro computers Mini computers
- Desktop computers
- Personal computers
- Portable notebook computers
- Workstations
- Mainframes or enterprise systems
- Servers
- Super computers
Micro computers: Means smaller computers
• It contains only one CPU
• It is the integration of microprocessor and supporting peripherals(memory & i/o
devices)
• The word length is 8-32 bit
• Used in small industrial control, process control and where storage requirements are
moderate.
Mini computers:
• It is designed to process smaller data words 32-bit words
• These are used for scientific calculations, research, data processing applications
Desktop computers:
• Commonly used in home or office desk
• It is consists of processing units, storage unit, visual display and audio as output
units, keyboard and mouse as input-output units.
• Storage units consists of hard disks, CD-ROM , desketters.
Personal computers: Like desktop
• Used in homes, schools and business offices.
Portable network computers:
• Compact version of personal computers.
1
CAO: UNIT-1
Ex: laptops
Workstations: Have a higher computation power than personal computer.
• Have a higher resolution graphics terminals and improved input/output capabilities
• Used in engineering applications and in interactive graphics applications.
Mainframe or enterprise systems:
• These are implemented using two or more CPU’s
• Work at very high speeds with large data word length(64bit or more)
• Data storage capacity is very high
• Used in complex scientific calculations, large data processing applications, military
defense control complex graphics applications.
Servers:
• Having large storage unit and fast communication links.
• Large storage allows storing sizable database and fast communication links allow
faster communication of data blocks with computers connected in the n/w.
• They play major role in internet communication.
Super computers:
• Basically multi processing computers.
• Used in large scale numerical calculations required in applications such as whether
forecasting, robotic engineering, air craft designing and simulations.
FUNCTIONAL UNITS:
Functional Units
Figure 1.1. Basic f unctional units of a computer.
I/O Processor
Output
Memory
Input and
Arithmetic
logic
Control
• All the above activities are coordinated and controlled by the control unit.
• The arithmetic and logic unit in conjunction with control is commonly called CPU.
Input unit:
• A computer accepts digitally coded information through i/p unit using input devices
like keyboard and mouse.
• Keyboard take text and numeric information
2
CAO: UNIT-1
• Mouse take to position the screen cursor and there by enter the information by
selecting option
• Take ball, space ball, digitizers, scanners(i/p units)
Memory unit:
• Used to store programs and data.
• Memory devices are two types
• Primary storage memory device is also called main memory.
• Secondary storage memory device.
• Main memory is fast memory used for the storage of programs and active
data(current process data)
• Main memory is semi conductor memory.
• It consists of a large no of semi conductor storage cells.
• Each cell storing one bit of information
• These cells are read or written by CPU in a group of fixed size called word.
• One word contains n bits.
• Each word has distinct address.
• No of bits in word is word length.
• No of words are the sizes of memory (or) capacity of memory.
• Important characteristics of memory is an access time (required to access one word)
• It should be as small as possible 10 to 100 nano seconds.
• In rams, fixed time is required to access any word in the memory.
• In sequential access memory this time is not fixed.
• Main memory consists of RAMs
• These are fast but they are small in capacities and expensive.
• Computer uses secondary storage memories such as magnetis taps, magnetic disk
for storage of large amount of data.
Arithmetic and logical unit:
• It performing arithmetic operations such as add, subtracts division, and
multiplication.
• Logical operations such as ending, oring, inverting etc..
• To perform operations operands brought from main memory into the high speed
storage elements called registers of the processors.
• Each register can store one word of data and they are used to store frequently used
operands.
• Access times of registers are typically 5 to 10 times faster than access times to
memory.
• The result is either stored in the register or memory location.
3
CAO: UNIT-1
Output uint:
• It sends the proceeded results to the user using o/p devices such as video monitor,
printer, and plotter etc.
• Video monitor display the o/p on the CRT screen
• Printers and plotter give the hardcopy o/p.
• Printers will be classified as
1. Impact printers
2. Non impact printers
• Impact printer’s process formed character faces against inked printers.
• Non impact printers and plotters used laser techniques, inkjet sprays,
xerographically processes, electrostatic methods and electro thermal methods to get
images on the paper.
Control unit:
• Control unit coordinates and controls the activities among the functional unit.
• Basic function of control unit is to fetch the instructions stored in the main memory.
• Identifying the operations and the devices involved in it.
• Generate control signals to execute the desired operations.
• It controls i/p o/p operations data transfers between the processor memory and i/p
and o/p devices using timing signals.
BASIC OPERATIONAL CONCEPTS
• The basic function of a computer is to execute program.
•
Figure 1.2.   Connections between the processor and the  memory.
Processor
Memory
PC
IR
MDR
Control
ALU
Rn 1­
R1
R0
MAR
n general purpose
registers
Fig: connections between the processor and main memory
To perform execution of information in addition to the arithmetic logic unit, and
control unit the processor contain a number of registers used for temporary storage of data
and some special function registers include pc, ir, mdr, mar.
Program counter (pc):
• A program is a series of instructions stored in the memory.
4
CAO: UNIT-1
• It is important that these instructions must be executed in a proper way to get the
correct result.
• Sequence of instructions execution is monitored by the program counter.
IR (Instruction Registers):
• Is used to hold the instruction that is currently being executed.
• The contents of IR are available to the control unit, which generate timing signals
that control the various processing elements involved in executing the instruction.
• MAR & MDR all used to handle the data transfer b/w the main memory and the
processor.
• MAR holds the address of main memory to or from which data is to be transferred.
• MDR contains the data to be written into or read from the addressed word of the
main memory.
• When ever you want to service from a device like keyboard,
• The processor can service these devices in one of the two ways polling routine &
interrupt.
• In polling processors s/w checks each of I/O devices every so often.
• Once the service is completed the processor would resume exactly where it left off.
This method is called interrupt method.
• If more than one i/p devices request I/O service simulation sly, i/o provides service
based on priority.
• Interrupt service routine itself can be interrupted by higher priority interrupt. These
interrupt is called nested interrupted.
Ex: 1.state the operations involved in the execution of ADD R1, R0 instruction.
2. Fetch the instruction from the memory into 1R register of the processor.
3. Add the contents of R1 and R0 and store the result in the R0.
BUS STRUCTURES:
• Paths are connecting the modules together for communicating together.
• The collection of paths connecting the various modules is called the interconnection
structure.
• The designs of this interconnection structure will depend on the exchanges that must
be made between modules.
• A group of wires is called bus.
• Bus provides necessary signals for communication between modules.
• A bus that connects major computer components/modules( cpu, memory, i/o) is
called system bus
• System bus is separated into 3 functional groups
Data bus
Address bus
Control bus
5
CAO: UNIT-1
Data bus:
• Data bus consists of 8, 16, 32 or more parallel signal lines.
• These lines are bidirectional
• The communication between peripheral and cpu is activated by giving output
enable pulse to the peripheral.
Address bus:
• It is a unidirectional bus.
• It consists of 16,20,24 or more parallel signal lines
• On these lines the CPU sends out the address of the memory location or i/o port that
is to be written to or read form.
Control bus:
• The control lines regulate the activity on the bus.
• The cpu sends signals on the control bus to enable the outputs of addressed memory
devices or port devices
• Typically control bus signals are:
Memory read (MEMR) Memories write (MEMW)
I/O read (IOR) I/O writes (IOW) Bus request (BR)
Bus grant (BG) Interrupt request (INTR),
Interrupt acknowledgement (INTA) Clock (CLK)
Reset Ready Hold, Hold acknowledgment (HLDA).
Signal bus structure:
• Interconnection of bus structure is called signal bus structure.
Figure 1.3.    Single­bus structure.
MemoryInput Output Processor
6
CAO: UNIT-1
• In single bus structure all units (address bus, data bus, and control bus) are
connected to common bus called system bus.
• In single bus only two units can communicate with each other at a time.
• Advantage of single bus structure is its low cost and its flexibility for attaching
peripheral devices.
Multi bus structures:
The performance of computer systems suffers when large number of devices connected to
the bus this is because of two major reasons.
• When two or more devices are connected to the common bus we need to share the
bus amongst these devices the sharing mechanisms co ordinates the use of bus of
different devices. This coordination requires finite time called propagative delay.
When control of the bus passes from one device to another frequently these
propagation delays are noticeable and affect the performance of computer system.
• When the aggregate data transfers demand approaches the capacities of the bus, the
bus may become a bottleneck. In such situations we have to increase the data rate of
the bus.
• For this reason most computer systems use the multiple buses.
7
CAO: UNIT-1
System Software:
• Is a collection of programs.
• System software in micro computer allows one to develop applications/user
programs for micro processor based systems.
• System software includes operating system, text editors, assemblers, compilers and
interpreters an
• It is a collection of programs to creation, preparation and execution of other
programs.
• Basic functions provided by system software are as fallows:
Receive and interrupt user commands.
Enter and edit user application programs and store them as files in secondary
storage devices such as hard disk or floppy disk.
I/O handling using standard device drivers.
Translation of programs from assembly language to machine language or high-level
language to machine language.
Editor:
• The editor is programs is used to creat and modify source program/text.
• The editor has commands to change, delete or interest lines or characters.
Assemblers:
• In the 1st
pass the assembler performs the fallowing operations:
1. Reading the source program instructions.
2. Creating the symbol table in which all symbols used in the program together with
their attributes are stored.
3. Replacing all mnemonic codes by their binary codes.
4. Detecting any syntax error in the source program
5. Assigning relative address to instructions and data.
Interpreter and Compiler:
• Advantage of using an interpreter is that if an error is found, you can just correct the
source program and immediately return it.
• Disadvantage, interpreted program runs 5 to 25 times slower than the same program
will run after being completed.
• Each statement must be translated to machine code every time the program is run.
• Disadvantage, when an error is found, it usually must be corrected in the source
program and the entire compile-load sequence repeated.
Operating system:
• An OS performs resource management and provides an interface between the user
and program.
• Resource-microprocessor, memory, I/O devices.
8
CAO: UNIT-1
• As a collection of system programs that tell the machine what to do under a verity
of conditions.
• DOS, Unix, Windows
PERFORMANCE:
• The time between start and completion of the program or event is reducing
execution time (or) response time.
• Reduction in response time increases the throughput(the total amount of work done
in a given time)
• The performance of a computer is directly related to throughput and hence it is
reciprocal of execution time.
• The idle performance of a computer system is achieved when we have a perfect
match between the machine capability and the program behavior.
• Factors for projecting the performance of a computer.
Processor clock:
• The processor is driven by a clock with a constant cycle time called processor
clock.
• The time period of processor clock is denoted by P.
• The period ’p’ of clock cycle is an important parameter that effects processor
performance.
• The clock rate is given by R=1/p which measured in cycles per second (cps).
• The computer having clock rate of 800 MHZ have 800 million cycles per second.
Basic performance equation:
• To execute a program a processor has to execute number of machine language
instructions.
• This number is denoted by N.
• The number N is actual number of instructions executed by processor and is not
necessary equal to the number of machine instructions in the machine language
program.
• Each machine instruction takes one or more cycle time for execution.
• The average no of basic steps required to execute one machine instruction is
denoted by ‘S’
• Each basic step is completed in one clock cycle.
• The program execution time is given by
T=N*S/R.
• R clock rate measured in clocks per second.
• S the average no of steps needed to execute one machine instruction.
• The above equation is known as basic performance equation.
• When machine instruction execution time is measured in terms of cycles per
instruction(cpi) the program execution time is given as T=N*CPL/R.
9
CAO: UNIT-1
• The CPI of an instruction type can be divided into 2 components terms
corresponding to the total processor cycles and memory cycles need to complete the
execution of the instruction.
• We can rewrite the eq(2)
T=N* (P+M*K)/R.
Where P-no of processor cycles required for the instruction decodes and
executes.
M-no of memory references needed.
K-ratio between memory cycle and processor cycle.
N-machine instruction count.
R-clock rate.
Throughput rate:
• It indicates a no of programs a system can execute per unit time.
• Throughput can be measured separately for the system (ws) and for the processor
(wp).
• Wp = no of machine instructions executed per second/no of machine instructions
per program.
Wp= MIPS rate*106
/N.
• If the processor kept busy in a perfect program interleaving fashion, then
Ws=Wp
Pipelining and superscalar operation:
• Clock cycles are required to perform various steps in the instruction execution.
• S1-fetch(f) S2-decode (d)
S3-execute (e) S4-store(s)
• These stages for several instructions are performed simultaneously to reduce overall
processing time, the processing is called instruction pipeline.
• To improve performance is to achieve high degree of concurrency.
• High degree of concurrency is achieved by implementing multiple instruction
pipelines in the processor.
• To implement multiple instruction pipelines processor has multiple functional units
and they are capable of executing multiple instructions at a time creating parallel
execution paths such a processor.
• Is known as superscalar processor and such an operation is known as superscalar
execution.
Multiprocessor and multicomputer:
• In a large computer systems multiple processor are used. Such systems are known
as multiprocessor systems.
• This system executes a no of different application tasks in parallel, or they execute
sub tasks of a single large task in parallel.
• In this system memory shared between all processors.
10
CAO: UNIT-1
• Such multi processor system is known as shared memory multi processor systems.
• A group of systems or computers inter connected to achieve high total
computational power such systems are called multicomputer.
• In multi computer systems each computer has its own memory unit.
• When the tasks are needed to execute, communication between computers are used
message passing mechanisms’ to exchange information.
• Message passing mechanisms exchanges the messages over a communication
network. such computer system are known as message passing multi computers.
NOTE: For remaining topics in unit-1 and for
complete unit-2
Refer your notes and soft copy of text book pdf file
which is attached along with this file.
11

More Related Content

What's hot

Overview of Computer Architecture and Organization
Overview of Computer Architecture and OrganizationOverview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
Vinit Raut
 
1 Computer Architecture
1 Computer Architecture1 Computer Architecture
1 Computer Architecture
fika sweety
 
Os ch1
Os ch1Os ch1
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1Umang Gupta
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computersKumar
 
computer architecture.
computer architecture.computer architecture.
computer architecture.
Shivalik college of engineering
 
Computer Organization (Unit-1)
Computer Organization (Unit-1)Computer Organization (Unit-1)
Computer Organization (Unit-1)Harsh Pandya
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
appasami
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
Gurpreet Singh
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computer
gaurav jain
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and Design
Ra'Fat Al-Msie'deen
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1
Dilawar Khan
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architectureyogesh1617
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
Volodymyr Ushenko
 
Computer processing
Computer processingComputer processing
Computer processing
Shakila Mahjabin
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)
AJAL A J
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE Himanshu Sharma
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organizationMuhammad Ishaq
 
1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture
Abdelrahman Hosny
 
0 introduction to computer architecture
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architectureaamc1100
 

What's hot (20)

Overview of Computer Architecture and Organization
Overview of Computer Architecture and OrganizationOverview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
 
1 Computer Architecture
1 Computer Architecture1 Computer Architecture
1 Computer Architecture
 
Os ch1
Os ch1Os ch1
Os ch1
 
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computers
 
computer architecture.
computer architecture.computer architecture.
computer architecture.
 
Computer Organization (Unit-1)
Computer Organization (Unit-1)Computer Organization (Unit-1)
Computer Organization (Unit-1)
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computer
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and Design
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architecture
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
 
Computer processing
Computer processingComputer processing
Computer processing
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organization
 
1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture
 
0 introduction to computer architecture
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architecture
 

Similar to Cao u1

Co module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodesCo module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodes
Manu Jose
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
berekethailu2
 
Co module 1 2019 20-converted
Co module 1 2019 20-convertedCo module 1 2019 20-converted
Co module 1 2019 20-converted
ramamani keshava
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
HAriesOa1
 
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Abhishekn84
 
computer catagory and its organization
computer catagory and its organizationcomputer catagory and its organization
computer catagory and its organization
Sheikh Salam
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptx
MDSHABBIR12
 
BASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptxBASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptx
DrAbhishekKumarSingh3
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
Sweta Kumari Barnwal
 
Computer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer OrganisationComputer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer Organisation
luckyanirudhsai
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptx
LearnersCoach
 
Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introduction
Kiran Bagale
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
ssuser45ae56
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
DrVaibhavMeshram
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
Bikash Gyawali
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
JavedIqbal549896
 
Report in SAD
Report in SADReport in SAD
Report in SADjesseledm
 

Similar to Cao u1 (20)

Co module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodesCo module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodes
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Co module 1 2019 20-converted
Co module 1 2019 20-convertedCo module 1 2019 20-converted
Co module 1 2019 20-converted
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
 
computer catagory and its organization
computer catagory and its organizationcomputer catagory and its organization
computer catagory and its organization
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptx
 
BASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptxBASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptx
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Computer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer OrganisationComputer Organisation unit 1 basics of computer Organisation
Computer Organisation unit 1 basics of computer Organisation
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptx
 
Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introduction
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Report in SAD
Report in SADReport in SAD
Report in SAD
 

More from vishnu murthy

555 timer
555 timer555 timer
555 timer
vishnu murthy
 
Html introduction
Html introductionHtml introduction
Html introduction
vishnu murthy
 
Css introduction
Css  introductionCss  introduction
Css introduction
vishnu murthy
 
Irnss sps icd_june_2014 (1)
Irnss sps icd_june_2014 (1)Irnss sps icd_june_2014 (1)
Irnss sps icd_june_2014 (1)
vishnu murthy
 
Navic india's own navigation system
Navic india's own navigation systemNavic india's own navigation system
Navic india's own navigation system
vishnu murthy
 
R13 ece
R13 eceR13 ece
R13 ece
vishnu murthy
 
Vhdl
VhdlVhdl
Automatic gear transmission
Automatic gear transmissionAutomatic gear transmission
Automatic gear transmission
vishnu murthy
 
Abstract E-BALL TECHNOLOGY
Abstract   E-BALL TECHNOLOGYAbstract   E-BALL TECHNOLOGY
Abstract E-BALL TECHNOLOGY
vishnu murthy
 
Abstract 5G Technology
Abstract   5G TechnologyAbstract   5G Technology
Abstract 5G Technology
vishnu murthy
 
Abstract Silent Sound Technology
Abstract   Silent Sound TechnologyAbstract   Silent Sound Technology
Abstract Silent Sound Technology
vishnu murthy
 
Abstract The Prospect of 3D-IC
Abstract The Prospect of 3D-ICAbstract The Prospect of 3D-IC
Abstract The Prospect of 3D-IC
vishnu murthy
 
Solar tree using nanowire
Solar tree using nanowireSolar tree using nanowire
Solar tree using nanowire
vishnu murthy
 
Abstract Radio Frequency Identificatication
Abstract           Radio Frequency IdentificaticationAbstract           Radio Frequency Identificatication
Abstract Radio Frequency Identificatication
vishnu murthy
 
Abstract PAPER BATTERY-A PROMISING ENERGY SOLUTION
Abstract   PAPER BATTERY-A PROMISING  ENERGY SOLUTIONAbstract   PAPER BATTERY-A PROMISING  ENERGY SOLUTION
Abstract PAPER BATTERY-A PROMISING ENERGY SOLUTION
vishnu murthy
 
Abstract Automatic Control of Railway Gates
Abstract  Automatic Control of Railway GatesAbstract  Automatic Control of Railway Gates
Abstract Automatic Control of Railway Gates
vishnu murthy
 
Abstract Robotics
Abstract   RoboticsAbstract   Robotics
Abstract Robotics
vishnu murthy
 
Abstract Black box flight recorders
Abstract    Black box flight recorders Abstract    Black box flight recorders
Abstract Black box flight recorders
vishnu murthy
 
Abstract Smart Card Technology
Abstract  Smart Card TechnologyAbstract  Smart Card Technology
Abstract Smart Card Technology
vishnu murthy
 
Abstract Fiber Optics
Abstract    Fiber OpticsAbstract    Fiber Optics
Abstract Fiber Optics
vishnu murthy
 

More from vishnu murthy (20)

555 timer
555 timer555 timer
555 timer
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
Irnss sps icd_june_2014 (1)
Irnss sps icd_june_2014 (1)Irnss sps icd_june_2014 (1)
Irnss sps icd_june_2014 (1)
 
Navic india's own navigation system
Navic india's own navigation systemNavic india's own navigation system
Navic india's own navigation system
 
R13 ece
R13 eceR13 ece
R13 ece
 
Vhdl
VhdlVhdl
Vhdl
 
Automatic gear transmission
Automatic gear transmissionAutomatic gear transmission
Automatic gear transmission
 
Abstract E-BALL TECHNOLOGY
Abstract   E-BALL TECHNOLOGYAbstract   E-BALL TECHNOLOGY
Abstract E-BALL TECHNOLOGY
 
Abstract 5G Technology
Abstract   5G TechnologyAbstract   5G Technology
Abstract 5G Technology
 
Abstract Silent Sound Technology
Abstract   Silent Sound TechnologyAbstract   Silent Sound Technology
Abstract Silent Sound Technology
 
Abstract The Prospect of 3D-IC
Abstract The Prospect of 3D-ICAbstract The Prospect of 3D-IC
Abstract The Prospect of 3D-IC
 
Solar tree using nanowire
Solar tree using nanowireSolar tree using nanowire
Solar tree using nanowire
 
Abstract Radio Frequency Identificatication
Abstract           Radio Frequency IdentificaticationAbstract           Radio Frequency Identificatication
Abstract Radio Frequency Identificatication
 
Abstract PAPER BATTERY-A PROMISING ENERGY SOLUTION
Abstract   PAPER BATTERY-A PROMISING  ENERGY SOLUTIONAbstract   PAPER BATTERY-A PROMISING  ENERGY SOLUTION
Abstract PAPER BATTERY-A PROMISING ENERGY SOLUTION
 
Abstract Automatic Control of Railway Gates
Abstract  Automatic Control of Railway GatesAbstract  Automatic Control of Railway Gates
Abstract Automatic Control of Railway Gates
 
Abstract Robotics
Abstract   RoboticsAbstract   Robotics
Abstract Robotics
 
Abstract Black box flight recorders
Abstract    Black box flight recorders Abstract    Black box flight recorders
Abstract Black box flight recorders
 
Abstract Smart Card Technology
Abstract  Smart Card TechnologyAbstract  Smart Card Technology
Abstract Smart Card Technology
 
Abstract Fiber Optics
Abstract    Fiber OpticsAbstract    Fiber Optics
Abstract Fiber Optics
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 

Cao u1

  • 1. CAO: UNIT-1 UNIT-1 Computer architecture: Means those attributes of a system visible to the programmer. Computer organization: Refers to the operational units and their inter connections that realize the architectural specifications. Computer: A computer is fast electronic calculating machine that accepts digitalized information from the user and processes it according to a sequence of instructions stored in the internal storage and provides the processed information to the user. • A sequence of instructions stored in the internal storage is called computer program. • An internal storage is called memory. • According to the size, cost computational power application computers are classified as: - Micro computers Mini computers - Desktop computers - Personal computers - Portable notebook computers - Workstations - Mainframes or enterprise systems - Servers - Super computers Micro computers: Means smaller computers • It contains only one CPU • It is the integration of microprocessor and supporting peripherals(memory & i/o devices) • The word length is 8-32 bit • Used in small industrial control, process control and where storage requirements are moderate. Mini computers: • It is designed to process smaller data words 32-bit words • These are used for scientific calculations, research, data processing applications Desktop computers: • Commonly used in home or office desk • It is consists of processing units, storage unit, visual display and audio as output units, keyboard and mouse as input-output units. • Storage units consists of hard disks, CD-ROM , desketters. Personal computers: Like desktop • Used in homes, schools and business offices. Portable network computers: • Compact version of personal computers. 1
  • 2. CAO: UNIT-1 Ex: laptops Workstations: Have a higher computation power than personal computer. • Have a higher resolution graphics terminals and improved input/output capabilities • Used in engineering applications and in interactive graphics applications. Mainframe or enterprise systems: • These are implemented using two or more CPU’s • Work at very high speeds with large data word length(64bit or more) • Data storage capacity is very high • Used in complex scientific calculations, large data processing applications, military defense control complex graphics applications. Servers: • Having large storage unit and fast communication links. • Large storage allows storing sizable database and fast communication links allow faster communication of data blocks with computers connected in the n/w. • They play major role in internet communication. Super computers: • Basically multi processing computers. • Used in large scale numerical calculations required in applications such as whether forecasting, robotic engineering, air craft designing and simulations. FUNCTIONAL UNITS: Functional Units Figure 1.1. Basic f unctional units of a computer. I/O Processor Output Memory Input and Arithmetic logic Control • All the above activities are coordinated and controlled by the control unit. • The arithmetic and logic unit in conjunction with control is commonly called CPU. Input unit: • A computer accepts digitally coded information through i/p unit using input devices like keyboard and mouse. • Keyboard take text and numeric information 2
  • 3. CAO: UNIT-1 • Mouse take to position the screen cursor and there by enter the information by selecting option • Take ball, space ball, digitizers, scanners(i/p units) Memory unit: • Used to store programs and data. • Memory devices are two types • Primary storage memory device is also called main memory. • Secondary storage memory device. • Main memory is fast memory used for the storage of programs and active data(current process data) • Main memory is semi conductor memory. • It consists of a large no of semi conductor storage cells. • Each cell storing one bit of information • These cells are read or written by CPU in a group of fixed size called word. • One word contains n bits. • Each word has distinct address. • No of bits in word is word length. • No of words are the sizes of memory (or) capacity of memory. • Important characteristics of memory is an access time (required to access one word) • It should be as small as possible 10 to 100 nano seconds. • In rams, fixed time is required to access any word in the memory. • In sequential access memory this time is not fixed. • Main memory consists of RAMs • These are fast but they are small in capacities and expensive. • Computer uses secondary storage memories such as magnetis taps, magnetic disk for storage of large amount of data. Arithmetic and logical unit: • It performing arithmetic operations such as add, subtracts division, and multiplication. • Logical operations such as ending, oring, inverting etc.. • To perform operations operands brought from main memory into the high speed storage elements called registers of the processors. • Each register can store one word of data and they are used to store frequently used operands. • Access times of registers are typically 5 to 10 times faster than access times to memory. • The result is either stored in the register or memory location. 3
  • 4. CAO: UNIT-1 Output uint: • It sends the proceeded results to the user using o/p devices such as video monitor, printer, and plotter etc. • Video monitor display the o/p on the CRT screen • Printers and plotter give the hardcopy o/p. • Printers will be classified as 1. Impact printers 2. Non impact printers • Impact printer’s process formed character faces against inked printers. • Non impact printers and plotters used laser techniques, inkjet sprays, xerographically processes, electrostatic methods and electro thermal methods to get images on the paper. Control unit: • Control unit coordinates and controls the activities among the functional unit. • Basic function of control unit is to fetch the instructions stored in the main memory. • Identifying the operations and the devices involved in it. • Generate control signals to execute the desired operations. • It controls i/p o/p operations data transfers between the processor memory and i/p and o/p devices using timing signals. BASIC OPERATIONAL CONCEPTS • The basic function of a computer is to execute program. • Figure 1.2.   Connections between the processor and the  memory. Processor Memory PC IR MDR Control ALU Rn 1­ R1 R0 MAR n general purpose registers Fig: connections between the processor and main memory To perform execution of information in addition to the arithmetic logic unit, and control unit the processor contain a number of registers used for temporary storage of data and some special function registers include pc, ir, mdr, mar. Program counter (pc): • A program is a series of instructions stored in the memory. 4
  • 5. CAO: UNIT-1 • It is important that these instructions must be executed in a proper way to get the correct result. • Sequence of instructions execution is monitored by the program counter. IR (Instruction Registers): • Is used to hold the instruction that is currently being executed. • The contents of IR are available to the control unit, which generate timing signals that control the various processing elements involved in executing the instruction. • MAR & MDR all used to handle the data transfer b/w the main memory and the processor. • MAR holds the address of main memory to or from which data is to be transferred. • MDR contains the data to be written into or read from the addressed word of the main memory. • When ever you want to service from a device like keyboard, • The processor can service these devices in one of the two ways polling routine & interrupt. • In polling processors s/w checks each of I/O devices every so often. • Once the service is completed the processor would resume exactly where it left off. This method is called interrupt method. • If more than one i/p devices request I/O service simulation sly, i/o provides service based on priority. • Interrupt service routine itself can be interrupted by higher priority interrupt. These interrupt is called nested interrupted. Ex: 1.state the operations involved in the execution of ADD R1, R0 instruction. 2. Fetch the instruction from the memory into 1R register of the processor. 3. Add the contents of R1 and R0 and store the result in the R0. BUS STRUCTURES: • Paths are connecting the modules together for communicating together. • The collection of paths connecting the various modules is called the interconnection structure. • The designs of this interconnection structure will depend on the exchanges that must be made between modules. • A group of wires is called bus. • Bus provides necessary signals for communication between modules. • A bus that connects major computer components/modules( cpu, memory, i/o) is called system bus • System bus is separated into 3 functional groups Data bus Address bus Control bus 5
  • 6. CAO: UNIT-1 Data bus: • Data bus consists of 8, 16, 32 or more parallel signal lines. • These lines are bidirectional • The communication between peripheral and cpu is activated by giving output enable pulse to the peripheral. Address bus: • It is a unidirectional bus. • It consists of 16,20,24 or more parallel signal lines • On these lines the CPU sends out the address of the memory location or i/o port that is to be written to or read form. Control bus: • The control lines regulate the activity on the bus. • The cpu sends signals on the control bus to enable the outputs of addressed memory devices or port devices • Typically control bus signals are: Memory read (MEMR) Memories write (MEMW) I/O read (IOR) I/O writes (IOW) Bus request (BR) Bus grant (BG) Interrupt request (INTR), Interrupt acknowledgement (INTA) Clock (CLK) Reset Ready Hold, Hold acknowledgment (HLDA). Signal bus structure: • Interconnection of bus structure is called signal bus structure. Figure 1.3.    Single­bus structure. MemoryInput Output Processor 6
  • 7. CAO: UNIT-1 • In single bus structure all units (address bus, data bus, and control bus) are connected to common bus called system bus. • In single bus only two units can communicate with each other at a time. • Advantage of single bus structure is its low cost and its flexibility for attaching peripheral devices. Multi bus structures: The performance of computer systems suffers when large number of devices connected to the bus this is because of two major reasons. • When two or more devices are connected to the common bus we need to share the bus amongst these devices the sharing mechanisms co ordinates the use of bus of different devices. This coordination requires finite time called propagative delay. When control of the bus passes from one device to another frequently these propagation delays are noticeable and affect the performance of computer system. • When the aggregate data transfers demand approaches the capacities of the bus, the bus may become a bottleneck. In such situations we have to increase the data rate of the bus. • For this reason most computer systems use the multiple buses. 7
  • 8. CAO: UNIT-1 System Software: • Is a collection of programs. • System software in micro computer allows one to develop applications/user programs for micro processor based systems. • System software includes operating system, text editors, assemblers, compilers and interpreters an • It is a collection of programs to creation, preparation and execution of other programs. • Basic functions provided by system software are as fallows: Receive and interrupt user commands. Enter and edit user application programs and store them as files in secondary storage devices such as hard disk or floppy disk. I/O handling using standard device drivers. Translation of programs from assembly language to machine language or high-level language to machine language. Editor: • The editor is programs is used to creat and modify source program/text. • The editor has commands to change, delete or interest lines or characters. Assemblers: • In the 1st pass the assembler performs the fallowing operations: 1. Reading the source program instructions. 2. Creating the symbol table in which all symbols used in the program together with their attributes are stored. 3. Replacing all mnemonic codes by their binary codes. 4. Detecting any syntax error in the source program 5. Assigning relative address to instructions and data. Interpreter and Compiler: • Advantage of using an interpreter is that if an error is found, you can just correct the source program and immediately return it. • Disadvantage, interpreted program runs 5 to 25 times slower than the same program will run after being completed. • Each statement must be translated to machine code every time the program is run. • Disadvantage, when an error is found, it usually must be corrected in the source program and the entire compile-load sequence repeated. Operating system: • An OS performs resource management and provides an interface between the user and program. • Resource-microprocessor, memory, I/O devices. 8
  • 9. CAO: UNIT-1 • As a collection of system programs that tell the machine what to do under a verity of conditions. • DOS, Unix, Windows PERFORMANCE: • The time between start and completion of the program or event is reducing execution time (or) response time. • Reduction in response time increases the throughput(the total amount of work done in a given time) • The performance of a computer is directly related to throughput and hence it is reciprocal of execution time. • The idle performance of a computer system is achieved when we have a perfect match between the machine capability and the program behavior. • Factors for projecting the performance of a computer. Processor clock: • The processor is driven by a clock with a constant cycle time called processor clock. • The time period of processor clock is denoted by P. • The period ’p’ of clock cycle is an important parameter that effects processor performance. • The clock rate is given by R=1/p which measured in cycles per second (cps). • The computer having clock rate of 800 MHZ have 800 million cycles per second. Basic performance equation: • To execute a program a processor has to execute number of machine language instructions. • This number is denoted by N. • The number N is actual number of instructions executed by processor and is not necessary equal to the number of machine instructions in the machine language program. • Each machine instruction takes one or more cycle time for execution. • The average no of basic steps required to execute one machine instruction is denoted by ‘S’ • Each basic step is completed in one clock cycle. • The program execution time is given by T=N*S/R. • R clock rate measured in clocks per second. • S the average no of steps needed to execute one machine instruction. • The above equation is known as basic performance equation. • When machine instruction execution time is measured in terms of cycles per instruction(cpi) the program execution time is given as T=N*CPL/R. 9
  • 10. CAO: UNIT-1 • The CPI of an instruction type can be divided into 2 components terms corresponding to the total processor cycles and memory cycles need to complete the execution of the instruction. • We can rewrite the eq(2) T=N* (P+M*K)/R. Where P-no of processor cycles required for the instruction decodes and executes. M-no of memory references needed. K-ratio between memory cycle and processor cycle. N-machine instruction count. R-clock rate. Throughput rate: • It indicates a no of programs a system can execute per unit time. • Throughput can be measured separately for the system (ws) and for the processor (wp). • Wp = no of machine instructions executed per second/no of machine instructions per program. Wp= MIPS rate*106 /N. • If the processor kept busy in a perfect program interleaving fashion, then Ws=Wp Pipelining and superscalar operation: • Clock cycles are required to perform various steps in the instruction execution. • S1-fetch(f) S2-decode (d) S3-execute (e) S4-store(s) • These stages for several instructions are performed simultaneously to reduce overall processing time, the processing is called instruction pipeline. • To improve performance is to achieve high degree of concurrency. • High degree of concurrency is achieved by implementing multiple instruction pipelines in the processor. • To implement multiple instruction pipelines processor has multiple functional units and they are capable of executing multiple instructions at a time creating parallel execution paths such a processor. • Is known as superscalar processor and such an operation is known as superscalar execution. Multiprocessor and multicomputer: • In a large computer systems multiple processor are used. Such systems are known as multiprocessor systems. • This system executes a no of different application tasks in parallel, or they execute sub tasks of a single large task in parallel. • In this system memory shared between all processors. 10
  • 11. CAO: UNIT-1 • Such multi processor system is known as shared memory multi processor systems. • A group of systems or computers inter connected to achieve high total computational power such systems are called multicomputer. • In multi computer systems each computer has its own memory unit. • When the tasks are needed to execute, communication between computers are used message passing mechanisms’ to exchange information. • Message passing mechanisms exchanges the messages over a communication network. such computer system are known as message passing multi computers. NOTE: For remaining topics in unit-1 and for complete unit-2 Refer your notes and soft copy of text book pdf file which is attached along with this file. 11