Docsity

Instruction Cycle-Data Storage and Computer Architechture-Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Instruction Cycle-Data Storage and Computer Architechture-Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

©Javaid Khurshid

Intel 8085 CPU Block Diagram

Instruction Cycle

CPU Instruction Cycle…

Instruction Cycle



Two steps:

■ Fetch ■ Execute

Interrupts



Mechanism by which other modules (e.g. I/O)may interrupt normal sequence of processing



Program Interrupts

■ e.g. overflow, division by zero 

Timer Interrupts

■ Generated by internal processor timer ■ Used in pre-emptive multi-tasking 

I/O Interrupts

■ from I/O controller 

Hardware Interrupts

■ e.g. memory parity error

Program Flow Control

©Javaid Khurshid

Transfer of Control via Interrupts

Instruction Cycle with Interrupts

Multiple Interrupts



Disable interrupts

■ Processor will ignore further interrupts whilstprocessing one interrupt ■ Interrupts remain pending and are checked afterfirst interrupt has been processed ■ Interrupts handled in sequence as they occur 

Define priorities

■ Low priority interrupts can be interrupted byhigher priority interrupts ■ When higher priority interrupt has beenprocessed, processor returns to previousinterrupt

Multiple Interrupts - Sequential

Time Sequence of Multiple Interrupts

Intentionally Left Blank



Brain Storming

■ Why Two Ears? ■ Why Two Eyes? ■ Why One Nose? ■ Why One Mouth? ■ Why Two Hands? ■ Why Two Legs?

Types of Micro-operation



Transfer data between registers



Transfer data from register to external



Transfer data from external to register



Perform arithmetic or logical operations

Constituent Elements of

Program Execution