Unit - I: Basic Structure of A Computer System Computer System
Unit - I: Basic Structure of A Computer System Computer System
BASIC STRUCTURE OF A
COMPUTER SYSTEM
S. Poornima, ASP/IT
Introduction
• Architecture
– System attributes that have a direct impact on the logical execution of
a program
– Attributes visible to the programmer
• Instruction set, number of bits used for data representation, I/O
mechanisms, addressing techniques.
• Organization
– How features are implemented.
– Physical details that are transparent to a programmer
• Control signals, interfaces, memory technology.
• Server computers
• Supercomputers
– Highest capability but represent a small fraction of the overall computer market
• Embedded computers
• Embedded Computers
– Emphasis: price
Performance
• Algorithm
– Determines number of operations executed
• System software
– Compiler: translates HLL code to machine code
• Hardware
– Processor, memory, I/O controllers
Levels of Program Code
• High-level language
– Level of abstraction closer to
problem domain
• Assembly language
– Textual representation of
instructions
• Hardware representation
– Binary digits (bits)
Software
instruction set
Hardware
• Defines registers
• Input/output includes
– User-interface devices
• Display, keyboard, mouse
– Storage devices
• Hard disk, CD/DVD, flash
– Network adapters
• For communicating with other computers
Functional units of a computer
Input unit accepts Arithmetic and logic unit(ALU):
information: Performs the desired
•Human operators, operations on the input
•Electromechanical devices information as determined
•Other computers by instructions in the memory
Memory Arithmetic
Input Instr1 & Logic
Instr2
Instr3
Data1
Output Data2 Control
I/O Processor
Stores
Output unit sends information: Control unit coordinates
results of processing: •Instructions, various actions
•To a monitor display, •Data •Input,
•To a printer •Output
•Processing
Technology Trends
• Electronics technology
continues to evolve
– Increased capacity and
performance
– Reduced cost
DRAM capacity
Known as:
• Law of exponential growth
or
• Accelerating change law
2. Use Abstraction to Simplify Design
A major productivity technique for hardware and software
is to use abstractions to represent the design at different
levels of representation; lower-level details are hidden to
offer a simpler model at higher levels.
7. Hierarchy of Memories
Fast, expensive
(small numbers),
Containing the fastest, smallest, and most volatile
registers
expensive memory per bit at the top of the
main memory
hierarchy and the slowest, largest, and
disk storage
cheapest per bit at the bottom. Slow, cheap
(large numbers),
magnetic tapes
non-volatile
8. Dependability via Redundancy
Computers not only need to be fast; they need to be
dependable. Since any physical device can fail, we make
systems dependable by including redundant components
that can take over when a failure occurs and to help detect
failures.
Self Assessment
• Functional components of Computer?
• Define ISA?
• What is an Assembler?
• What is an instruction?
• What is system software?
• Purpose of MAR?
• What is Program Counter (PC)?
• Hierarchy of memory?
• Difference between RISC and CISC.