Sie sind auf Seite 1von 31

COMPUTER

ORGANIZATION and
ASSEMBLY LANGUAGE
HELLO!
I am Jahanzeb Naeem
◈ Have 14+ years experience in software
development.
◈ Running my software house for last 4+ years.
◈ MPhil from UMT.
◈ Interest in Development, AI, Machine
Learning and Bigdata Analysis.

2
HELLO!
Kindly introduce yourself.
You can introduce yourself in Urdu / English.
Required for Introduction:
Full Name
Background (Matric/FSC)
Major (CS, SE, IT, etc.)

3
About The Course

COURSE STRUCTURE: Lectures: 3 & Lab: 0


CREDIT HOURS: 3
PREREQUISITES: Digital Logic Design
EVALUATION (will be confirmed later)
Quizzes, Assignments, Project, Mid Term and Final Term
Examination.

4
Course Outline
Computer Organization Assembly Language
Microprocessor Bus Structure: Objectives and Perspectives of
Addressing, Data and Control, Memory Assembly Language, Addressing
Organization and Structure (Segmented Modes, Introduction to the Assembler
and Linear Models), Introduction to and Debugger, Manipulate and
Registers and Flags, Data Movement, translate machine and assembly code,
Arithmetic and Logic, Program Control, Describe actions inside the processing
Subroutines, Stack and its operation, chip, Discuss operations performed
Peripheral Control Interrupts, by an instruction set, Write a fully
Interfacing with high level languages, documented program, Using an
Real-time application. assembler of choice.
5
Reference Material
◈ Computer Organization & Architecture, 7th Ed, by William
Stallings, 2006, Prentice Hall.
◈ Assembly Language for Intel-based Computers, 5th Ed, by Kip
R. Irvine, 2007, Prentice Hall.
◈ Computer Organization and Design, The Hardware/Software
Interface, 4th Ed, by David A. Patterson and John L. Hennessy,
2008. Elsevier Publishers.

6
Internet Resources – Website for Book
◈ http://WilliamStallings.com/COA/COA7e.html
◆links to sites of interest
◆links to sites for courses that use the book
◆errata list for book
◆information on other books by W. Stallings
◈ http://WilliamStallings.com/StudentSupport.html
◆Math
◆How-to
◆Research resources
◆Misc. 7
Internet Resources – Website to Look for
◈ WWW Computer Architecture Home Page
◈ CPU Info Center
◈ Processor Emporium
◈ ACM Special Interest Group on Computer Architecture
◈ IEEE Technical Committee on Computer Architecture
◈ Intel Technology Journal
◈ Manufacturer’s sites
◆Intel, IBM, etc.
8
Internet Resources – Usenet News Groups
◈ comp.arch
◈ comp.arch.arithmetic
◈ comp.arch.storage
◈ comp.parallel

9
1.
INTRODUCTION
Let’s get rolling.

10
Architecture & Organization
◈ Architecture is those attributes visible to the programmer
◆ Instruction set, number of bits used for data representation,
I/O mechanisms, addressing techniques.
◆ e.g. Is there a multiply instruction?
◈ Organization is how features are implemented
◆ Control signals, interfaces, memory technology.
◆ e.g. Is there a hardware multiply unit or is it done by
repeated addition?

11
Architecture & Organization (Cont.)
◈ All Intel x86 family share the same basic architecture
◈ The IBM System/370 family share the same basic architecture
◈ This gives code compatibility
◆ At least backwards
◈ Organization differs between different versions

12
Structure & Function
◈ Structure is the way in which components relate to each other
◈ Function is the operation of individual components as part of
the structure

13
Function
◈ All computer functions are:
◆ Data processing
◆ Data storage
◆ Data movement
◆ Control

14
Functional
View
15
(a) Data
Movement

Operations
16
(b) Storage

Operations
17
(c)
Processing
from/to
Storage

Operations
18
(d)
Processing
from
Storage to
I/O

Operations
19
USE CHARTS TO EXPLAIN YOUR IDEAS

Peripherals
Computer

Central Main
Processing Memory
Unit
Computer

Systems
Interconnection

Communication Input
lines Output
20
USE CHARTS TO EXPLAIN YOUR IDEAS
CPU
Arithmetic
Computer and Logic
Registers Unit
I/O
CPU
System
Bus Internal CPU
Interconnection
Memory
Control
Unit
21
USE CHARTS TO EXPLAIN YOUR IDEAS
Control Unit
CPU
Sequencing
ALU Login
Control
Internal Unit Control Unit
Bus Registers and
Decoders
Registers
Control
Memory
22
2.
COMPUTER
EVOLUTION AND
PERFORMANCE
Let’s get rolling.
23
ENIAC – Background
◈ Electronic Numerical Integrator And Computer
◈ Eckert and Mauchly
◈ University of Pennsylvania
◈ Trajectory tables for weapons
◈ Started 1943
◈ Finished 1946
◆ Too late for war effort
◈ Used until 1955
24
ENIAC – Detail
◈ Decimal (not binary)
◈ 20 accumulators of 10 digits
◈ Programmed manually by switches
◈ 18,000 vacuum tubes
◈ 30 tons
◈ 15,000 square feet
◈ 140 kW power consumption
◈ 5,000 additions per second
25
von Neumann/Turing
◈ Stored Program concept
◈ Main memory storing programs and data
◈ ALU operating on binary data
◈ Control unit interpreting instructions from memory and
executing
◈ Input and output equipment operated by control unit
◈ Princeton Institute for Advanced Studies
◆ IAS
◈ Completed 1952 26
von
Neumann
Machine

Structure
27
IAS – Detail
◈ 1000 x 40 bit words
◆ Binary number
◆ 2 x 20 bit instructions
◈ Set of registers (storage in CPU)
◆ Memory Buffer Register
◆ Memory Address Register
◆ Instruction Register
◆ Instruction Buffer Register
◆ Program Counter
◆ Accumulator
◆ Multiplier Quotient 28
ISA – Detail

Structure
29
Commercial Computers
◈ 1947 - Eckert-Mauchly Computer Corporation
◈ UNIVAC I (Universal Automatic Computer)
◈ US Bureau of Census 1950 calculations
◈ Became part of Sperry-Rand Corporation
◈ Late 1950s - UNIVAC II
◆ Faster
◆ More memory
30
IBM
◈ Punched-card processing equipment
◈ 1953 - the 701
◆ IBM’s first stored program computer
◆ Scientific calculations
◈ 1955 - the 702
◆ Business applications
◈ Lead to 700/7000 series

31

Das könnte Ihnen auch gefallen