Docsity

Microprocessors and Components - Lecture Slides | CPEN 422, Exams of Microprocessors

Partial preview of the text

Download Microprocessors and Components - Lecture Slides | CPEN 422 and more Exams Microprocessors in PDF only on Docsity!

Microprocessors

Motorola, Microchip, …Von Neumann, HarvardRISC, CISC and Beyond

Microprocessors &Components

Topics

P & Components

• Processor Architecture: Von Neumann vs.

Harvard

• Instruction Cycles & Pipeline• Processor Architecture: RISC vs. CISC• Type of Machine Instructions• Addressing Modes

Instruction Cycles &Pipeline

CPU Internals

Registers:

Storagefor data

Control Unit:

issues control

path signals

(micro-operations)

to other parts of

CPU

ALU:

manipulates

data in response

to signals fromthe control unit

Bus:

Transports data

between ALUand registers

Microprocessors &Components

Memory

• Memory types

– RAM– ROM, PROM– EPROM, EEPROM, Flash

• RAM Memory Cell

inactive

read

write

x

x

x

y

x y

Microprocessors &Components Micro-computer vs. Micro-controller

Microprocessors &Components

Topics

P & Components

• Processor Architecture: Von Neumann vs.

Harvard

• Instruction Cycles & Pipeline• Processor Architecture: RISC vs. CISC• Type of Machine Instructions• Addressing Modes

Von Neumann vs.Harvard Block Diagram of a Motorola Microcontroller in Single-Chip Mode

Von Neumann vs.Harvard Block Diagram of a PIC Microcontroller

Microprocessors &Components

Topics

P & Components

• Processor Architecture: Von Neumann vs.

Harvard

• Instruction Cycles & Pipeline• Processor Architecture: RISC vs. CISC• Type of Machine Instructions• Addressing Modes

Instruction Cycles &Pipeline

Instruction vs. Micro-operation

Write

Instruction Cycles &Pipeline

Add Instruction - Indirect

(Decode)

CU

IR

1 ALU operation 0 add 0 bit 3 1 bit 2 0 bit 1 1 bit 0 Controlsignals 0101

Instruction Cycles &Pipeline

Add Instruction - Execute

CU

0101

0001

ALU

0110 Status flags

add

Microprocessors &Components

Topics

P & Components

• Processor Architecture: Von Neumann vs.

Harvard

• Instruction Cycles & Pipeline• Processor Architecture: RISC vs. CISC• Type of Machine Instructions• Addressing Modes

RISC vs. CISC

CISC

Complex Instruction Set Computer

Multi-cycle instruction execution

Variable size instruction format - Micro-programmed instruction set

Smaller program size (# of instructions)

Memory access

Multiple addressing modes

Optimization complexity