SlideShare a Scribd company logo
2
Most read
3
Most read
12
Most read
Unit -IV
INSTRUCTION PROCESS DESIGN
VIDHYA B
ASSISTANT PROFESSOR & HEAD
Department of Computer Technology
Sri Ramakrishna College of Arts and Science
Coimbatore - 641 006
Tamil Nadu, India
1
Introduction to Computer
Architecture
Intel Microprocessor Family
Multicore Processors
CPU Instruction Execution Steps
-Pipelining
Disk Controller
Microcomputer Bus
2
Sri Ramakrishna College of Arts & Science
Instruction Process Design
• Instruction processor design, often referred to
as INSTRUCTION SET ARCHITECTURE (ISA), is
a crucial aspect of computer engineering.
• It defines how a computer’s CPU is controlled
by software, specifying the instructions the
processor can execute, the data types it can
handle, and the registers it uses.
3
Sri Ramakrishna College of Arts & Science
Instruction Process Design
Here are some key components of instruction
processor design:
• Instruction Set: This includes the set of operations
the processor can perform, such as arithmetic
operations, data transfer, and control operations
• Instruction Format: This defines the layout of the
bits in an instruction, including the opcode
(operation code) and operand(s) (data or memory
addresses)
4
Sri Ramakrishna College of Arts & Science
Instruction Process Design
• Memory Model and Addressing Methods:
This describes how memory is accessed and
managed, including different addressing
modes like direct, indirect, and indexed
addressing.
• Registers: These are small, fast storage
locations within the CPU that hold data and
instructions currently being processed.
5
Sri Ramakrishna College of Arts & Science
Instruction Process Design
• Modern processors also incorporate advanced
techniques like pipelining, which allows
multiple instructions to be processed
simultaneously, and branch prediction, which
improves the flow of instruction execution.
6
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
• Designing an instruction set involves several key
considerations to ensure the processor can
efficiently execute a wide range of tasks.
Here’s a step-by-step guide to design an instruction set:
1. Define the Instruction Set Architecture (ISA)
2. Instruction Categories
3. Addressing Modes
4. Register Set
5. Encoding and Instruction Formats
7
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
1. Define the Instruction Set Architecture (ISA)
Types of Instructions: Determine the types of operations
the processor will support, such as arithmetic, logic, data
transfer, and control operations.
Instruction Format: Decide on the layout of the
bits in an instruction. Common formats include
fixed-length and variable-length instructions.
Operand Types and Sizes: Specify the types of
operands (e.g., immediate, register, memory) and
their sizes (e.g., 8-bit, 16-bit, 32-bit
8
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
2. Instruction Categories
• Arithmetic and Logic Instructions: Include
operations like addition, subtraction, AND, OR,
etc.
• Data Transfer Instructions: Define how data is
moved between registers, memory, and I/O
devices.
• Control Instructions: Include instructions for
branching, jumping, and procedure calls.
9
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
3. Addressing Modes
• Direct Addressing: The operand is
specified directly in the instruction.
• Indirect Addressing: The instruction
specifies a memory location that
contains the address of the operand.
• Indexed Addressing: Combines a base address
with an index to get the effective address.
10
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
4. Register Set
• General-Purpose Registers: Used for a variety of operations.
• Special-Purpose Registers: Include the program counter, stack
pointer, and status register.
5. Encoding and Instruction Formats
• Opcode: The part of the instruction that specifies the
operation to be performed.
• Operands: The part of the instruction that specifies the data to
be operated on.
• Instruction Length: Decide whether to use fixed-length or
variable-length instructions.
11
Sri Ramakrishna College of Arts & Science
Designing an Instruction Set
Example: Simple Instruction Set
Here’s a basic example of a simple instruction set:
• ADD R1, R2, R3: Add the contents of R2 and R3, and store
the result in R1.
• LOAD R1, 1000: Load the value from memory address 1000
into R1.
• STORE R1, 1000: Store the value of R1 into memory address
1000.
• JMP 2000: Jump to the instruction at memory address 2000.
• BEQ R1, R2, 3000: Branch to address 3000 if the contents of
R1 and R2 are equal.
• Designing an instruction set is a complex task that requires
balancing simplicity, efficiency, and flexibility
12
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
Data movement instructions: It is essential for
transferring data between different parts of a
computer system.
Here are some common types of data movement
instructions:
1. Load and Store Instructions
• Load (LD): Transfers data from memory to a register.
Example: LD R1, 1000 (Load the value from
memory address 1000 into register R1)
13
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
1. Load and Store Instructions
• Store (ST): Transfers data from a register to memory.
Example: ST R1, 1000 (Store the value of
register R1 into memory address 1000)
2. Move Instructions
Move (MOV): Copies data from one location to
another.
Example: MOV R1, R2 (Copy the value of register R2
into register R1)
14
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
3. Input/Output Instructions:
Input (IN): Reads data from an input device into a
register.
Example: IN R1, PORT1 (Read data from input port
PORT1 into register R1)
Output (OUT): Writes data from a register to an
output device
Example: OUT PORT1, R1,(Write the value of
Register 1 to output port PORT1)
15
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
4. Stack Manipulation Instructions:
Push (PUSH): Places data onto the stack
Example: PUSH R1, PORT1 (Push the value of
register R1 onto the stack)
Pop (POP): Removes data from the stack.
Example: POP R1, PORT1 (Pop the top value
from the stack into register R1)
16
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
4. Stack Manipulation Instructions:
Push (PUSH): Places data onto the stack
Example: PUSH R1, PORT1 (Push the value of
register R1 onto the stack)
Pop (POP): Removes data from the stack.
Example: POP R1, PORT1 (Pop the top value
from the stack into register R1)
17
Sri Ramakrishna College of Arts & Science
Data Movement Instruction Set
5. Type-Conversion Instructions
Convert (CVT): Converts data from one type to
another.
Example: CVT R1,R2 (Convert the value in
register R2 to a different type and store it in
register R1)
18
Sri Ramakrishna College of Arts & Science

More Related Content

PPTX
Part Four The CPU architecture in .pptx
PPT
MCA-UNIT 1 ppt that helps to study modern computer architecture
PPTX
Introduction to Computer Architecture and Organization
PPTX
Presentation2.pptx vtu computer organization and architectural
PPT
COA Chapter 3 final edited*Minimum 40 characters required.ppt
PPTX
Advanced Processor Power Point Presentation
PPTX
Unit-1_Processor_Basic Cpu_Organization.pptx
PPTX
Unit 4_DECA_Complete Digital Electronics.pptx
Part Four The CPU architecture in .pptx
MCA-UNIT 1 ppt that helps to study modern computer architecture
Introduction to Computer Architecture and Organization
Presentation2.pptx vtu computer organization and architectural
COA Chapter 3 final edited*Minimum 40 characters required.ppt
Advanced Processor Power Point Presentation
Unit-1_Processor_Basic Cpu_Organization.pptx
Unit 4_DECA_Complete Digital Electronics.pptx

Similar to INSTRUCTION PROCESSOR DESIGN Computer system architecture (20)

PPTX
Introduction to Computer Architecture
PDF
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PPTX
introduction to microprocessor and assembly language
PPTX
module 3 instruction set and control unit
PPTX
ITEC582-Chapter 12.pptx
PDF
Central processor organization
PDF
CP Handout#1
PDF
computer system organization and architecture
PDF
CS6303 Computer Architecture.pdf
PPTX
Intel x86 and ARM Data types
PPTX
Computer Architecturebhhgggfggtggeerr.pptx
PDF
Various type of register
PPTX
COA.pptx
PPTX
Computer architecture instruction formats
PPT
isa architecture
PPTX
Introduction to Computer Architecture: unit 1
PPTX
Cpu & its execution of instruction
PDF
files_1570175665_204715750.pdf
PPTX
Unit 1 computer architecture_gghhhjjhbh.pptx
PPT
IS 139 Lecture 6
Introduction to Computer Architecture
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
introduction to microprocessor and assembly language
module 3 instruction set and control unit
ITEC582-Chapter 12.pptx
Central processor organization
CP Handout#1
computer system organization and architecture
CS6303 Computer Architecture.pdf
Intel x86 and ARM Data types
Computer Architecturebhhgggfggtggeerr.pptx
Various type of register
COA.pptx
Computer architecture instruction formats
isa architecture
Introduction to Computer Architecture: unit 1
Cpu & its execution of instruction
files_1570175665_204715750.pdf
Unit 1 computer architecture_gghhhjjhbh.pptx
IS 139 Lecture 6
Ad

More from VidhyaB10 (16)

PPTX
ANN – NETWORK ARCHITECTURE in Natural Language Processing
PPTX
Exploring and Processing Text data using NLP
PPTX
NLP Introduction - Natural Language Processing and Artificial Intelligence Ov...
PPTX
Applications & Text Representations.pptx
PPT
Preprocessing - Data Integration Tuple Duplication
PPT
Major Tasks in Data Preprocessing - Data cleaning
PPT
Applications ,Issues & Technology in Data mining -
PPTX
Python Visualization API Primersubplots
PPTX
Python _dataStructures_ List, Tuples, its functions
PPTX
Python_Functions_Modules_ User define Functions-
PPT
Datamining - Introduction - Knowledge Discovery in Databases
PPTX
Disk Scheduling in OS computer deals with multiple processes over a period of...
PPTX
Unit 2 digital fundamentals boolean func.pptx
PPTX
Digital Fundamental - Binary Codes-Logic Gates
PPTX
unit 5-files.pptx
PPTX
Python_Unit1_Introduction.pptx
ANN – NETWORK ARCHITECTURE in Natural Language Processing
Exploring and Processing Text data using NLP
NLP Introduction - Natural Language Processing and Artificial Intelligence Ov...
Applications & Text Representations.pptx
Preprocessing - Data Integration Tuple Duplication
Major Tasks in Data Preprocessing - Data cleaning
Applications ,Issues & Technology in Data mining -
Python Visualization API Primersubplots
Python _dataStructures_ List, Tuples, its functions
Python_Functions_Modules_ User define Functions-
Datamining - Introduction - Knowledge Discovery in Databases
Disk Scheduling in OS computer deals with multiple processes over a period of...
Unit 2 digital fundamentals boolean func.pptx
Digital Fundamental - Binary Codes-Logic Gates
unit 5-files.pptx
Python_Unit1_Introduction.pptx
Ad

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Basic Mud Logging Guide for educational purpose
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf
O7-L3 Supply Chain Operations - ICLT Program
Abdominal Access Techniques with Prof. Dr. R K Mishra
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
Basic Mud Logging Guide for educational purpose
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPH.pptx obstetrics and gynecology in nursing
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Insiders guide to clinical Medicine.pdf
01-Introduction-to-Information-Management.pdf
Cell Types and Its function , kingdom of life
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Microbial diseases, their pathogenesis and prophylaxis
FourierSeries-QuestionsWithAnswers(Part-A).pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Microbial disease of the cardiovascular and lymphatic systems
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

INSTRUCTION PROCESSOR DESIGN Computer system architecture

  • 1. Unit -IV INSTRUCTION PROCESS DESIGN VIDHYA B ASSISTANT PROFESSOR & HEAD Department of Computer Technology Sri Ramakrishna College of Arts and Science Coimbatore - 641 006 Tamil Nadu, India 1
  • 2. Introduction to Computer Architecture Intel Microprocessor Family Multicore Processors CPU Instruction Execution Steps -Pipelining Disk Controller Microcomputer Bus 2 Sri Ramakrishna College of Arts & Science
  • 3. Instruction Process Design • Instruction processor design, often referred to as INSTRUCTION SET ARCHITECTURE (ISA), is a crucial aspect of computer engineering. • It defines how a computer’s CPU is controlled by software, specifying the instructions the processor can execute, the data types it can handle, and the registers it uses. 3 Sri Ramakrishna College of Arts & Science
  • 4. Instruction Process Design Here are some key components of instruction processor design: • Instruction Set: This includes the set of operations the processor can perform, such as arithmetic operations, data transfer, and control operations • Instruction Format: This defines the layout of the bits in an instruction, including the opcode (operation code) and operand(s) (data or memory addresses) 4 Sri Ramakrishna College of Arts & Science
  • 5. Instruction Process Design • Memory Model and Addressing Methods: This describes how memory is accessed and managed, including different addressing modes like direct, indirect, and indexed addressing. • Registers: These are small, fast storage locations within the CPU that hold data and instructions currently being processed. 5 Sri Ramakrishna College of Arts & Science
  • 6. Instruction Process Design • Modern processors also incorporate advanced techniques like pipelining, which allows multiple instructions to be processed simultaneously, and branch prediction, which improves the flow of instruction execution. 6 Sri Ramakrishna College of Arts & Science
  • 7. Designing an Instruction Set • Designing an instruction set involves several key considerations to ensure the processor can efficiently execute a wide range of tasks. Here’s a step-by-step guide to design an instruction set: 1. Define the Instruction Set Architecture (ISA) 2. Instruction Categories 3. Addressing Modes 4. Register Set 5. Encoding and Instruction Formats 7 Sri Ramakrishna College of Arts & Science
  • 8. Designing an Instruction Set 1. Define the Instruction Set Architecture (ISA) Types of Instructions: Determine the types of operations the processor will support, such as arithmetic, logic, data transfer, and control operations. Instruction Format: Decide on the layout of the bits in an instruction. Common formats include fixed-length and variable-length instructions. Operand Types and Sizes: Specify the types of operands (e.g., immediate, register, memory) and their sizes (e.g., 8-bit, 16-bit, 32-bit 8 Sri Ramakrishna College of Arts & Science
  • 9. Designing an Instruction Set 2. Instruction Categories • Arithmetic and Logic Instructions: Include operations like addition, subtraction, AND, OR, etc. • Data Transfer Instructions: Define how data is moved between registers, memory, and I/O devices. • Control Instructions: Include instructions for branching, jumping, and procedure calls. 9 Sri Ramakrishna College of Arts & Science
  • 10. Designing an Instruction Set 3. Addressing Modes • Direct Addressing: The operand is specified directly in the instruction. • Indirect Addressing: The instruction specifies a memory location that contains the address of the operand. • Indexed Addressing: Combines a base address with an index to get the effective address. 10 Sri Ramakrishna College of Arts & Science
  • 11. Designing an Instruction Set 4. Register Set • General-Purpose Registers: Used for a variety of operations. • Special-Purpose Registers: Include the program counter, stack pointer, and status register. 5. Encoding and Instruction Formats • Opcode: The part of the instruction that specifies the operation to be performed. • Operands: The part of the instruction that specifies the data to be operated on. • Instruction Length: Decide whether to use fixed-length or variable-length instructions. 11 Sri Ramakrishna College of Arts & Science
  • 12. Designing an Instruction Set Example: Simple Instruction Set Here’s a basic example of a simple instruction set: • ADD R1, R2, R3: Add the contents of R2 and R3, and store the result in R1. • LOAD R1, 1000: Load the value from memory address 1000 into R1. • STORE R1, 1000: Store the value of R1 into memory address 1000. • JMP 2000: Jump to the instruction at memory address 2000. • BEQ R1, R2, 3000: Branch to address 3000 if the contents of R1 and R2 are equal. • Designing an instruction set is a complex task that requires balancing simplicity, efficiency, and flexibility 12 Sri Ramakrishna College of Arts & Science
  • 13. Data Movement Instruction Set Data movement instructions: It is essential for transferring data between different parts of a computer system. Here are some common types of data movement instructions: 1. Load and Store Instructions • Load (LD): Transfers data from memory to a register. Example: LD R1, 1000 (Load the value from memory address 1000 into register R1) 13 Sri Ramakrishna College of Arts & Science
  • 14. Data Movement Instruction Set 1. Load and Store Instructions • Store (ST): Transfers data from a register to memory. Example: ST R1, 1000 (Store the value of register R1 into memory address 1000) 2. Move Instructions Move (MOV): Copies data from one location to another. Example: MOV R1, R2 (Copy the value of register R2 into register R1) 14 Sri Ramakrishna College of Arts & Science
  • 15. Data Movement Instruction Set 3. Input/Output Instructions: Input (IN): Reads data from an input device into a register. Example: IN R1, PORT1 (Read data from input port PORT1 into register R1) Output (OUT): Writes data from a register to an output device Example: OUT PORT1, R1,(Write the value of Register 1 to output port PORT1) 15 Sri Ramakrishna College of Arts & Science
  • 16. Data Movement Instruction Set 4. Stack Manipulation Instructions: Push (PUSH): Places data onto the stack Example: PUSH R1, PORT1 (Push the value of register R1 onto the stack) Pop (POP): Removes data from the stack. Example: POP R1, PORT1 (Pop the top value from the stack into register R1) 16 Sri Ramakrishna College of Arts & Science
  • 17. Data Movement Instruction Set 4. Stack Manipulation Instructions: Push (PUSH): Places data onto the stack Example: PUSH R1, PORT1 (Push the value of register R1 onto the stack) Pop (POP): Removes data from the stack. Example: POP R1, PORT1 (Pop the top value from the stack into register R1) 17 Sri Ramakrishna College of Arts & Science
  • 18. Data Movement Instruction Set 5. Type-Conversion Instructions Convert (CVT): Converts data from one type to another. Example: CVT R1,R2 (Convert the value in register R2 to a different type and store it in register R1) 18 Sri Ramakrishna College of Arts & Science