Computer Architecture CHAPTER 1
Computer Architecture CHAPTER 1
COMPUTER
OPERATION
COMPUTER OPERATION
Design better programs, including system software such as compilers, operating systems,
and device drivers.
Optimize program behavior.
Evaluate (benchmark) computer system performance.
Understand time, space, and price tradeoffs.
COMPUTER ARCHITECTURE & ORGANIZATION
• Computer organization
• Encompasses all physical aspects of computer systems.
• E.g., circuit design, control signals, memory types.
• How does a computer work?
• Computer architecture
• Logical aspects of system implementation as seen by the
programmer.
• E.g., instruction sets, instruction formats, data types,
addressing modes.
• How do I design a computer?
THE ROLE & PURPOSE
Computer architecture Computer organization
COMPUTER HARDWARE
COMPUTER SOFTWARE
• The word software was first used in the late 1960s to show
the difference from computer hardware, which are the parts
of a machine that can be seen and touched.
• Software is the instructions that the computer follows.
• Before compact discs (CDs) or Internet downloads, software
came on various computer data storage media like paper
punch cards, magnetic discs or magnetic tape.
COMPONENT OF COMPUTER ARCHITECTURE & ORGANIZATION
COMPUTER SOFTWARE
• Carries data
• Remember that there is no difference between data and
instruction at this level
• Width is a key determinant of performance
• 8, 16, 32, 64 bit
BASIC COMPONENT AND PROGRAMMING OF A
DIGITAL COMPUTER
BUSES SYSTEM
• ADDRESS BUS
• CONTROL BUS
• Instructions are very powerful and so more closely mimics high-level languages.
• Implementation is slow.
• Slower to decode
• Examples: VAX, PDP-11, Motorola 68000 and Intel x86/Pentium. However, these are not truly CISC
architectures, because they decode complex instructions into internal simple micro-instructions
ASSEMBLY LANGUAGE
• On the other hand, nowadays, RISC instruction sets are growing larger, and becoming more like CISC.
• Pipelining
• Many registers
• Example: MIPS
ASSEMBLY LANGUAGE
RISC vs CISC
• Label field
- this field is optional for every instruction and is required only if the instruction is to be referred again and again.
example : START
• Mnemonics
- is and abbreviated word which serves as a memory aid with it sound suggesting it meaning.
example: ADD.L
• Operands
- consist of symbolic address of a memory location. This field consist of alphanumeric character and must be
• We know that the computer only understands machine language. So, a program written in
high level language needs to be translated into machine language before it can be executed
by the computer. This program in the case of a high level language is known as a compiler. A
compiler is so called because for every program instruction of a high level language, it
compiles a set of machine language instructions.
• When a program is to be compiled, the compiler is copied into the main memory of the
computer and is executed in the CPU. Besides translating the instruction, it also brings out
any errors related to the syntax (grammar) or semantic ( meaning) of the specified high level
language.