Computer Organization: Computer Architecture: It Refers To
Computer Organization: Computer Architecture: It Refers To
computers
Computer organization
It describes the functions of
various hardware components Computer architecture : It refers to
of digital computer and the instruction set, no. of bits used for
data representation, I/O mechanism
interconnections to achieve
and addressing techniques used for
architectural specifications. The memory. Deals with selection of
organization attributes include functional units such as
the hardware details processor and memory and how
transparent to the programmer they shoud be interconnected in a
computer system It deals more on
such as control signals,
design aspects.
interface between the computer
Both hardware and software design
and peripherals and memory
aspects of various computer
technology used. Computer components are to be considered to
hardware consists of electronic achieve a good understanding of
circuits,storage computer systems.
media,electromechanical
equipment and commn.facilities
Computer types
Digital computer is a fast
electronic calculating
Computers are of different types that
machine.
Arithmetic
Input and
Lgic unit
Memory
Output Control
I/O Processor
Memory Unit
It store programs and
data. Primary storage
and secondary storage The memory is organized so that one
word of n bits can be stored or
are 2 classes of storage retrieved from memory in one basic
Primary storage: It is operation .
A given word is accessed by
fast memory.It contains a
Memory
MAR MDR
Control
PC R0
R1
.
ALU
IR ALU
NRgen-i
Control
general purpose
Registers
SYSTEM SOFTWARE
System software is a collection of Functions of compiler, text editor and
programs that are executed as needed to
perform functions such as operating system
Receiving and interpreting user commands OS is a large program, or
Entering and editing application programs actually a collection of routines,
and storing them as files in secondary that is used to control the sharing
storage devices of processor time and interaction
Managing the storage and retrieval of files among various computer units as
in secondary storage devices they execute application
Running standard application programs programs.
such as word processors, spreadsheets or The OS routines perform the tasks
games, with data supplied by the user
required to assign computer
Controlling I/O units to receive input
resources to individual application
information and produce output results
programs.These tasks include
Translating programs from source form
assigning memory and magnetic disk
prepared by the user into object form
consisting of machine instructions
space to program and data files,
moving data between memory and
Linking and running user- written
application programs with existing
disk units and handling I/O operations.
standard library routines, such as Multiprogramming or multitasking
numerical computation packages
Time Line Diagram
PERFORMANCE
Speed of execution of programs is a The sum of the periods in which the
performance measure processor is active is called
processor time needed to execute
The design of computer hardware
the program.
and machine language instructions,
affect the speed of program Processor time depends on the
execution hardware involved in the execution of
instructions .This hardware comprises
Compiler design also affect the processor and the memory which are
performance connected by a bus.
For best performance, it is If the data and instructions are
necessary to design the complier, available in the processor chip in
the machine instruction set and the cache memory, then the instruction
hardware in a co-ordinated way execution is faster
Elapsed time, the total time To execute a machine
required to execute a program is a instructions, the processor divides
measure of performance of the the actions to be performed into a
entire computer system. It is sequence of basic steps, such that
affected by the speed of the each step is completed in one clock
processor, disk and the printer cycle. The clock rates ranges from few
100 MHz to a few GHz.
BASIC PERFORMANCE EQUATION
T = NxS/R is often
referred to as the
performance equation
T is the processor time S is the average number of basic
steps needed to execute one
required to execute a machine instruction, where each
program made in HL basic step is completed in one clock
cycle
language. R is the clock rate in cycles per
N is the number of second.
To achieve high performance, the
machine language