SlideShare a Scribd company logo
1 of 19
Download to read offline
The Computer System Hardware
Apart From Computer Software
Er. Sharad Kafle
Introduction
Er. Sharad Kafle
Central Processing Unit
Er. Sharad Kafle
Memory Unit
 They are internal storage areas in a computer
 In the form of chips
 Two Categories : RAM and ROM
RAM (Random Access Memory):
 Holds the data as long as electric supply is on. (volatile).
 Two Basic Types
i) Dynamic RAM : needs to be refreshed
ii) Static RAM : less often refreshed, expensive
ROM (Read Only Memory):
 Non-Volatile
 Program stored in ROM is FIRMWARE programed by manufacturer.
 Eg. Program that boots the computers are stored here.
Er. Sharad Kafle
Instruction Format
 An Instruction is normally made up of a combination if an operation
code and some way of specifying an operand, most commonly by its
location or address in memory.
Er. Sharad Kafle
Instruction Set
FEW EXAMPLES
ADD - Add two numbers together. || ADD R4, R3 :: R4  R4 + R3
COMPARE - Compare numbers.
IN - Input information from a device, e.g. keyboard.
JUMP - Jump to designated RAM address.
JUMP IF - Conditional statement that jumps to a designated RAM address.
LOAD - Load information from RAM to the CPU.
OUT - Output information to device, e.g. monitor.
STORE - Store information to RAM.
Er. Sharad Kafle
Instruction Cycle
 Sometimes called fetch decode cycle.
 It is basic operational process of computer in which a computer retrieves
a program instruction from its memory that determines what actions the
instruction indicates and carries out those action.
 FETCH  DECODE  EXECUTE
Er. Sharad Kafle
Instruction Cycle
Er. Sharad Kafle
Microprocessor
 Incorporates the functions of a computer’s Central Processing Unit
(CPU) on a single Integrated Circuit (IC).
 Intel, atmel, hp, ARM, NVIDIA,
 Illustration of Example from TextBook.
Er. Sharad Kafle
Interconnection : Buses
Er. Sharad Kafle
Interconnection : Buses
 BUS is a set of electronic signal pathway that allows information and
signals to travel between components inside or outside of a computer.
 The different components of computer i.e. CPU, I/O and MU are
connected each other by a bus.
 The data, instructions and the signals are carried between the different
components via a bus.
 The command to access the memory or the I/O is carried by a control
bus.
 The address of I/O device or memory is carried by a address bus.
 The data to be transferred is carried by the data bus.
Er. Sharad Kafle
Inside a Computer Cabinet
 Modern Computer Consist of three basic section:
 A Processor
 Some Memory
 I/O (Peripheral) Devices
Er. Sharad Kafle
Before RISC Vs CISC
Speeding Up
 Memory Mapped I/O
 I/O Processors
 Memory Cache
Er. Sharad Kafle
RISC Vs CISC
RISC – Reduced Instruction Set Computer
 Less Space and Shorter design cycle.
 Use of pipelining for immense processing power.
Advantages:
 Speed : Due to simplified instruction
 Simpler Hardware : Less Chip space
 Shorter Design Cycle : Short Machine Cycle.
Er. Sharad Kafle
RISC Vs CISC
CISC – Complex Instruction Set Computer
 Uses Microcode.
 Build Rich instruction set and Build high-level instruction set.
Features:
 Several special purpose registers
 Few general purpose registers.
 Single instruction to support multiple addressing mode.
Er. Sharad Kafle
An Ideal CISC Machine
 An instruction is fetched from the memory
 The instruction is decoded.
 The instruction is executed
 The results are written in the memory.
CISC Processors are designed to execute instruction completely before
beginning the next instruction :: No PIPELINING
Er. Sharad Kafle
Instruction Pipelining
Er. Sharad Kafle
Example (RISC/CISC)
 LOAD R1, A         
 LOAD R2,B         
 PROD A, B          
 STORE R3, A     
MULT A,B     In CISC (One Complex instruction)
 In RISC (Number of fewer simple instruction)
Er. Sharad Kafle
Thanks!
Er. Sharad Kafle
Institute of Engineering, Tribhuwan University
Web : www.skafle.com.np
FB : www.facebook.com/kaflesharad
Email : kaflesharad@hotmail.com
kaflesharad@rocketmail.com

More Related Content

What's hot

Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computerSandeep Menon
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsJack Hyman
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview, Sajid Marwat
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slidesiarthur
 
Computer Structures
Computer StructuresComputer Structures
Computer Structuresguestfc2f62
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationFrankie Jones
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentalsPANKHURI JAIN
 
Computer - Hardware components
Computer -  Hardware componentsComputer -  Hardware components
Computer - Hardware componentsComputer Science
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02ZTE Nepal
 
Computer & it's components
Computer & it's componentsComputer & it's components
Computer & it's componentsluckygamer
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1New Era University
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computerQsrealm
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systemsMuhammad Waqas
 
Components of computer systems
Components of computer systemsComponents of computer systems
Components of computer systemsZainab&Sons
 

What's hot (20)

Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computer
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview,
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slides
 
Computer Structures
Computer StructuresComputer Structures
Computer Structures
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
 
Functional units
Functional unitsFunctional units
Functional units
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentals
 
Computer - Hardware components
Computer -  Hardware componentsComputer -  Hardware components
Computer - Hardware components
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02
 
Computer & it's components
Computer & it's componentsComputer & it's components
Computer & it's components
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
 
Computer Hardware
Computer Hardware Computer Hardware
Computer Hardware
 
1 basics of computers
1  basics of computers1  basics of computers
1 basics of computers
 
Presentacion.
Presentacion.Presentacion.
Presentacion.
 
Computer Introduction
Computer IntroductionComputer Introduction
Computer Introduction
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
 
Components of computer systems
Components of computer systemsComponents of computer systems
Components of computer systems
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 

Similar to Computer system Hardware and Instruction

Hardware Components2 - Anti-Dote Series
Hardware Components2 - Anti-Dote SeriesHardware Components2 - Anti-Dote Series
Hardware Components2 - Anti-Dote SeriesEnimil Kweku Boateng
 
COMPONENTS OF SYSTEM UNIT
COMPONENTS OF SYSTEM UNITCOMPONENTS OF SYSTEM UNIT
COMPONENTS OF SYSTEM UNITarunakshidatta
 
Inside the computer
Inside the computerInside the computer
Inside the computerZafar Ayub
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecturerajkciitr
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessorslpapadop
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 
computer System UNit Every thing
computer System UNit Every thingcomputer System UNit Every thing
computer System UNit Every thingAbdul Rehman
 
Difference Between CISC RISC, Harward & Von-neuman
Difference Between CISC RISC, Harward & Von-neumanDifference Between CISC RISC, Harward & Von-neuman
Difference Between CISC RISC, Harward & Von-neumanKailas Kharse
 
Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Ahmed Magdy
 
Unit-3 Von Neumann Architecture.ppt
Unit-3 Von Neumann Architecture.pptUnit-3 Von Neumann Architecture.ppt
Unit-3 Von Neumann Architecture.pptSatheeswaranV
 
Von neuman architecture
Von neuman architectureVon neuman architecture
Von neuman architecturessuserf06014
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdfaniyathikitchen
 

Similar to Computer system Hardware and Instruction (20)

CPU & RAM
CPU & RAMCPU & RAM
CPU & RAM
 
Hardware Components2 - Anti-Dote Series
Hardware Components2 - Anti-Dote SeriesHardware Components2 - Anti-Dote Series
Hardware Components2 - Anti-Dote Series
 
COMPONENTS OF SYSTEM UNIT
COMPONENTS OF SYSTEM UNITCOMPONENTS OF SYSTEM UNIT
COMPONENTS OF SYSTEM UNIT
 
CPU and its execution of instruction
CPU and its execution of instructionCPU and its execution of instruction
CPU and its execution of instruction
 
Inside the computer
Inside the computerInside the computer
Inside the computer
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecture
 
Ppt Lesson 04
Ppt Lesson 04Ppt Lesson 04
Ppt Lesson 04
 
5.6 Basic computer structure microprocessors
5.6 Basic computer structure   microprocessors5.6 Basic computer structure   microprocessors
5.6 Basic computer structure microprocessors
 
History of computer hardware
History of computer hardwareHistory of computer hardware
History of computer hardware
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Bc0040
Bc0040Bc0040
Bc0040
 
Computer architecture
Computer architecture Computer architecture
Computer architecture
 
Cpu
CpuCpu
Cpu
 
computer System UNit Every thing
computer System UNit Every thingcomputer System UNit Every thing
computer System UNit Every thing
 
DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
 
Difference Between CISC RISC, Harward & Von-neuman
Difference Between CISC RISC, Harward & Von-neumanDifference Between CISC RISC, Harward & Von-neuman
Difference Between CISC RISC, Harward & Von-neuman
 
Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)Computer organization research, everything that u want (2020)
Computer organization research, everything that u want (2020)
 
Unit-3 Von Neumann Architecture.ppt
Unit-3 Von Neumann Architecture.pptUnit-3 Von Neumann Architecture.ppt
Unit-3 Von Neumann Architecture.ppt
 
Von neuman architecture
Von neuman architectureVon neuman architecture
Von neuman architecture
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Computer system Hardware and Instruction

  • 1. The Computer System Hardware Apart From Computer Software Er. Sharad Kafle
  • 4. Memory Unit  They are internal storage areas in a computer  In the form of chips  Two Categories : RAM and ROM RAM (Random Access Memory):  Holds the data as long as electric supply is on. (volatile).  Two Basic Types i) Dynamic RAM : needs to be refreshed ii) Static RAM : less often refreshed, expensive ROM (Read Only Memory):  Non-Volatile  Program stored in ROM is FIRMWARE programed by manufacturer.  Eg. Program that boots the computers are stored here. Er. Sharad Kafle
  • 5. Instruction Format  An Instruction is normally made up of a combination if an operation code and some way of specifying an operand, most commonly by its location or address in memory. Er. Sharad Kafle
  • 6. Instruction Set FEW EXAMPLES ADD - Add two numbers together. || ADD R4, R3 :: R4  R4 + R3 COMPARE - Compare numbers. IN - Input information from a device, e.g. keyboard. JUMP - Jump to designated RAM address. JUMP IF - Conditional statement that jumps to a designated RAM address. LOAD - Load information from RAM to the CPU. OUT - Output information to device, e.g. monitor. STORE - Store information to RAM. Er. Sharad Kafle
  • 7. Instruction Cycle  Sometimes called fetch decode cycle.  It is basic operational process of computer in which a computer retrieves a program instruction from its memory that determines what actions the instruction indicates and carries out those action.  FETCH  DECODE  EXECUTE Er. Sharad Kafle
  • 9. Microprocessor  Incorporates the functions of a computer’s Central Processing Unit (CPU) on a single Integrated Circuit (IC).  Intel, atmel, hp, ARM, NVIDIA,  Illustration of Example from TextBook. Er. Sharad Kafle
  • 11. Interconnection : Buses  BUS is a set of electronic signal pathway that allows information and signals to travel between components inside or outside of a computer.  The different components of computer i.e. CPU, I/O and MU are connected each other by a bus.  The data, instructions and the signals are carried between the different components via a bus.  The command to access the memory or the I/O is carried by a control bus.  The address of I/O device or memory is carried by a address bus.  The data to be transferred is carried by the data bus. Er. Sharad Kafle
  • 12. Inside a Computer Cabinet  Modern Computer Consist of three basic section:  A Processor  Some Memory  I/O (Peripheral) Devices Er. Sharad Kafle
  • 13. Before RISC Vs CISC Speeding Up  Memory Mapped I/O  I/O Processors  Memory Cache Er. Sharad Kafle
  • 14. RISC Vs CISC RISC – Reduced Instruction Set Computer  Less Space and Shorter design cycle.  Use of pipelining for immense processing power. Advantages:  Speed : Due to simplified instruction  Simpler Hardware : Less Chip space  Shorter Design Cycle : Short Machine Cycle. Er. Sharad Kafle
  • 15. RISC Vs CISC CISC – Complex Instruction Set Computer  Uses Microcode.  Build Rich instruction set and Build high-level instruction set. Features:  Several special purpose registers  Few general purpose registers.  Single instruction to support multiple addressing mode. Er. Sharad Kafle
  • 16. An Ideal CISC Machine  An instruction is fetched from the memory  The instruction is decoded.  The instruction is executed  The results are written in the memory. CISC Processors are designed to execute instruction completely before beginning the next instruction :: No PIPELINING Er. Sharad Kafle
  • 19. Thanks! Er. Sharad Kafle Institute of Engineering, Tribhuwan University Web : www.skafle.com.np FB : www.facebook.com/kaflesharad Email : kaflesharad@hotmail.com kaflesharad@rocketmail.com