0% found this document useful (0 votes)
6 views50 pages

Computer Organization Basics and Performance

Uploaded by

monoromafoodies
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views50 pages

Computer Organization Basics and Performance

Uploaded by

monoromafoodies
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Computer Organization & Architecture

23CSAI35
MODULE-1

Basic Structure of Computers


Basic Structure of Computers: Functional Units, Basic Operational Concepts, Bus
structure, Performance – Processor Clock, Basic Performance Equation, Clock Rate,
Performance Measurement. Machine Instructions and Programs: Memory Location and
Addresses, Memory Operations, Instruction and Instruction sequencing, Addressing
Modes.

Text book 2: 1.2, 1.3, 1.4, 1.6, 2.2, 2.3, 2.4, 2.5
1.2 Functional Units

3
1.2 Functional Units
Information handled by a computer can be categorized in to instructions or data.
Instructions or machine instructions are the commands that

Input Unit

to digital codes for storage and process.

4
1.2 Functional Units
Memory Unit

5
1.2 Functional Units

Arithmetic and Logical Unit

6
1.2 Functional Units
Output Unit

Control Unit

7
1.2 Functional Units

8
1.3 Basic Operational concepts

9
1.3 Basic Operational concepts

10
1.3 Basic Operational concepts

11
1.3 Basic Operational concepts

12
1.3 Basic Operational concepts

13
1.4 Bus Structure

14
1.4 Bus Structure

15
1.6 Performance

16
1.6 Performance

17
1.6.1 Processor Clock

The length of the clock cycle is denoted by P and its inverse is called the clock Rate R = 1/P, which is
measured in cycles per second.

18
1.6.2 Basic Performance Equation

19
1.6.2 Basic Performance Equation

1.6.3 Pipelining and Superscalar Operations

20
1.6.3 Pipelining and Superscalar Operations

1.6.4 Clock Rate

1.6.5 Instruction Set : CISC and RISC

21
1.6.5Instruction Set : CISC and RISC

1.6.6 Compiler

22
1.6.7 Performance Measurement

23
1.6.7 Performance Measurement

24
2.2 Memory Locations and Addresses

25
2.2 Memory Locations and Addresses

26
27
28
29
If an information has to be transferred from one location to another, then possible locations
can be memory, register or registers in I/O systems. The location can be specified by a
symbolic name standing for its binary address. Example, addresses for memory locations may
be LOC, PLACE, A, VAR2. Processor register names may be R0, R5. I/O register names may
be DATAIN, OUTSTATUS.

30
31
The above action can be performed using
a) 3 address instructions
b) 2 address instruction
c) 1 address instructions

Each of these are explained below in detail.


a) 3 address instructions

32
2 Address instructions
2 Address instructions are of the form shown below

33
1 Address instructions

34
Consider the task

Following assumptions are made

35
36
37
38
39
40
Implementation of Variables and Constants

There are two addressing modes to access a variable.


1) Register Mode
2) Absolute mode

41
3. Immediate Addressing Mode

42
4. Indirect Addressing
In indirect addressing mode, the instruction does not give operand or its address explicitly ( directly).

43
5. Index Addressing Mode
Index addressing mode is useful in dealing with arrays and lists.

44
45
46
47
Relative addressing mode

48
Additional Addressing Modes

49
50

You might also like