Professional Documents
Culture Documents
Computer Organization and Assembly Language: Lecture 1 & 2 Introduction and Basics
Computer Organization and Assembly Language: Lecture 1 & 2 Introduction and Basics
ORGANIZATION AND
ASSEMBLY LANGUAGE
Lecture 1 & 2
Introduction and Basics
Course Instructor: Darwin Vargas
Lecture Overview
Course Information
Marking Scheme
Recommended Books
Why study Computer Organization?
What is a Microcomputer ?
Fetch, Decode and Execute
Three-Bus System Architecture
Course Information
Name: Computer Organization and Architecture
Course Code: CC272
Credit Hours: 2+1
Marking Scheme
3 quizzes 10 marks
2 Assignments 5 marks
1 Class Presentation 5 marks
1 Lab Quiz 5 marks
1 Lab Project 5 marks
Mid-term Exam 20 marks
Final Exam 50 marks
Recommended Books
Computer Organization and Architecture:
Designing for Performance, 8/E, William Stallings
Assembly Language for Intel Based Processors,
Kip R. Irvine
Why study computer organization and architecture?
We have a computer!
Components
The Control Unit and the Arithmetic and Logic
Unit constitute the Central Processing Unit
Data and instructions need to get into the system
and results out
Input/output
Temporary storage of code and results is needed
Main memory
Computer Components:
Top Level View
Instruction Cycle
Two steps:
Fetch
Execute
Fetch Cycle
Program Counter (PC) holds address of next
instruction to fetch
Processor fetches instruction from memory location
pointed to by PC
Increment PC
Unless told otherwise
Instruction loaded into Instruction Register (IR)
Processor interprets instruction and performs
required actions
Execute Cycle
Processor-memory
data transfer between CPU and main memory
Processor I/O
Data transfer between CPU and I/O module
Data processing
Some arithmetic or logical operation on data
Control
Alteration of sequence of operations
e.g. jump
Combination of above
The Instruction Set
− The job of the Instruction Decoder (ID) is to recognize
and activate appropriate controls in the CPU needed to
execute the instruction.
− The list of all instructions recognized by the ID is called
the instruction set
Modern CPUs:
− Most microprocessors today are designed to allow the fetch and execute
cycles to overlap.
bus.
The Pentium Pro processor has 36-bit address bus.
Three-Bus System Architecture