0% found this document useful (0 votes)
28 views22 pages

2 - Architecture and Organization

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)
28 views22 pages

2 - Architecture and Organization

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
You are on page 1/ 22

University of Southeastern Philippines

COLLEGE OF ENGINEERING
Electronics Engineering Program

INTRODUCTION TO
MICROPROCESOR SYSTEM
Lesson 2: Architecture and Organization

University of Southeastern Philippines


COLLEGE OF ENGINEERING 1
Electronics Engineering Program
Outline

1. Architecture
2. Organization

University of Southeastern Philippines


COLLEGE OF ENGINEERING 2
Electronics Engineering Program
Architecture
Computer Architecture refers to those
attributes of a system that have a direct
impact on the logical execution of a program.
o the instruction set
o the number of bits used to represent
various data types
o I/O mechanisms
o memory addressing techniques 3

University of Southeastern Philippines


COLLEGE OF ENGINEERING 3
Electronics Engineering Program
Architecture
The instruction set,
also called ISA (instruction set architecture),
is part of a computer that pertains to
programming, which is more or less machine
language.
The instruction set provides commands to the
processor, to tell it what it needs to do.
The instruction set consists of addressing modes,
instructions, native data types, registers,
4
memory architecture, interrupt, and exception
handling, and external I/O.

University of Southeastern Philippines


COLLEGE OF ENGINEERING 4
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• ARM,
• x86,
• MIPS,
• SPARC, and
• PowerPC.
The first step in understanding any computer
architecture is to learn its language.
5

University of Southeastern Philippines


COLLEGE OF ENGINEERING 5
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• ARM,
Advanced RISC Machines (Acorn RISC
Machine)
RISC – reduced instruction set computing
CISC – complex instruction set computing

University of Southeastern Philippines


COLLEGE OF ENGINEERING 6
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• RISC,
Reducing the cycles per instruction at the cost
of the number of instruction per program
- It is a computer that only uses simple
commands that can be divided into several
instructions that achieve low-level operation
within a single CLK cycle.
7

University of Southeastern Philippines


COLLEGE OF ENGINEERING 7
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• CISC,
Minimize the number of instruction per program
sacrificing the number of cycles per instruction.
- Develop by Intel. Is a computer that uses
complex instruction, where single instructions
can perform numerous low level operations.

University of Southeastern Philippines


COLLEGE OF ENGINEERING 8
Electronics Engineering Program
Architecture
Example of Instruction set is the x86 instruction set
of the x86 family of microprocessor.
• Intel
• AMD (up to Athlon processor only)
An instruction set can be built
• into the hardware of the processor.
• it can be emulated in software, using an
interpreter.
9
- The hardware design is more efficient and
faster for running programs than the
software emulated version

University of Southeastern Philippines


COLLEGE OF ENGINEERING 9
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• MIPS,
Microprocessor without Interlocked Pipelined
Stages – is a RISC ISA developed by MIPS
Computer system

* MIPS32/64 released on April 2017

10

University of Southeastern Philippines


COLLEGE OF ENGINEERING 10
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• SPARC
Scalable Processor Architecture – is a RISC
ISA.

* SUN Microsystem now ORACLE Corp

11

University of Southeastern Philippines


COLLEGE OF ENGINEERING 11
Electronics Engineering Program
Architecture
Many different architectures exist, such as:
• PowerPC.
Performance Optimization with Enhanced RISC
Performance Computing

* Apple, IBM and Motorola (AIM Alliance)

12

University of Southeastern Philippines


COLLEGE OF ENGINEERING 12
Electronics Engineering Program
Architecture
Example of Instruction set
• ADD – add two number together
• COMPARE – compare numbers
• IN – Input information from a device
(keyboard, sensors)
• JUMP – jump to designated RAM address
• JUMP IF – conditional statement that jumps
to a designated RAM address
• LOAD – load information from RAM to13the
CPU
• STORE – store information to RAM

University of Southeastern Philippines


COLLEGE OF ENGINEERING 13
Electronics Engineering Program
Architecture
Number of bits used to represent various data
types
• Integer
• Floating-point number
• Character
• String
• Boolean

14

University of Southeastern Philippines


COLLEGE OF ENGINEERING 14
Electronics Engineering Program
Architecture
I/O Mechanisms
Use to communicate with peripheral devices
The three basic I/O mechanism:
• Memory-mapped I/O
• I/O-mapped input/output
• Direct memory access (DMA)

15

University of Southeastern Philippines


COLLEGE OF ENGINEERING 15
Electronics Engineering Program
Architecture
Memory-mapped Input/output
A memory-mapped peripheral device is
connected to the CPU’s address and data
lines exactly like regular memory, so
whenever the CPU writes to or reads from the
address associated with the peripheral device,
the CPU transfers data to or from the device.
This mechanism has several benefits and only
a few disadvantages.
16

University of Southeastern Philippines


COLLEGE OF ENGINEERING 16
Electronics Engineering Program
Architecture
I/O-mapped Input/output
• I/O-mapped input/output differs from memory-
mapped I/O
• It uses special I/O address space separate
from the normal memory space, and it uses
special machine instruction to access device
addresses.

17

University of Southeastern Philippines


COLLEGE OF ENGINEERING 17
Electronics Engineering Program
Architecture
Direct Memory Access (DMA)
• Memory-mapped I/O subsystem and I/O-
mapped subsystems both require the CPU to
move data between the peripheral device and
memory. This is often called I/O programmed
I/O.
• For a high-speed I/O devices the CPU may be
too slow to process this data one byte at a
time. Such devices generally have an
interface to the CPU’s bus so they can directly
18

read and write memory, which is known as


direct memory access because the peripheral
device accesses memory directly.
University of Southeastern Philippines
COLLEGE OF ENGINEERING 18
Electronics Engineering Program
Architecture
Memory Addressing techniques
Ways of specifying the location of a memory.
• Real memory addressing
• Protected memory addressing

Real mode operation allows the processor to


only address the first 1M byte of memory space.

Protected addressing referred to the extended


19

memory beyond 1M byte

University of Southeastern Philippines


COLLEGE OF ENGINEERING 19
Electronics Engineering Program
Organization
Computer Organization refers to the
operational units and their interconnections
that realize the architectural specifications.
Examples are things that are transparent to
the programmer:
o control signals
o interfaces between computer and
peripherals 20
o the memory technology being used

University of Southeastern Philippines


COLLEGE OF ENGINEERING 20
Electronics Engineering Program
Architecture - Organization
Architecture is those attributes visible to the
programmer.
➢ Instruction set, number of bits used for data
representation, I/O mechanisms, addressing
techniques.
Organization is how features are implemented
➢ Control signals, interfaces, memory technology.
21
The fact that a multiply instruction is available is a
computer architecture issue. How that multiply is
implemented is a computer organization issue.

University of Southeastern Philippines


COLLEGE OF ENGINEERING 21
Electronics Engineering Program
University of Southeastern Philippines
COLLEGE OF ENGINEERING
Electronics Engineering Program

INTRODUCTION TO
MICROPROCESOR SYSTEM
Lesson 2: Architecture and Organization

University of Southeastern Philippines


COLLEGE OF ENGINEERING 22
Electronics Engineering Program

You might also like