SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Processor Organization &
Register Organization
Requirements placed on the processor
 Fetch instruction: The processor reads an instruction from memory
(register ,cache, main memory).
 Interpret instruction: The instruction is decoded to determine what action is
required.
 Fetch data: The execution of an instruction may require reading data from
memory or an I/O module.
 Process data: The execution of an instruction may require performing some
arithmetic or logical operation on data.
 Write data: The results of an execution may require writing data to memory
on I/O module.
Simplified view of processor
Components Of Processor
 The major components of the processor are an arithmetic and logic unit (ALU)
and a control unit (CU).
 The ALU does the actual computation or processing of data.
 The control unit controls the movement of data and instructions into and out of the
processor and controls the operation of the ALU.
 Register consists of a set of storage locations.
Internal Structure Of CPU
Explanation
 The data transfer and logic control paths are indicated, including an element
labeled internal processor bus.
 This element is needed to transfer data between the various registers and the ALU
because the ALU in fact operates only on data in the internal processor memory.
Register Organization
 The register in the processor perform two roles:
1. User-visible register: Enable the machine- or assembly language
programmer to minimize main memory references by optimizing
use of registers.
2. Control and status registers:Used by the control unit to control
the operation of the processor and by privileged, operating system
programs to control the execution of programs.
User-visible Registers
CATEGORIES:-
 General Purpose
 Data
 Address
 Condition Codes
General Purpose
 General Purpose Registers can be assigned to a variety of functions by the
programmer
 Mostly these registers contain the operand for any opcode.
 In some cases these are used for addressing purpose.
Data Registers
 Data Register to hold data and cannot be employed in the calculation of an
operand address
 Eg. Accumulator.
Address Registers
 Address Register they may be devoted to a particular addressing mode
 Segment pointers :a segment register holds the address of the base of the segment
 Index registers :are used for indexed addressing and may be autoindexed.
 Stack Pointer: If there is user-visible stack addressing, then typically there is a
dedicated register that points to the top of the stack.
Condition Codes
 Condition codes are bits set by the processor hardware as the result of
operations.
 Condition codes are bits set by the processor hardware as the result of operation.
CONTROL AND STATUS REGISTERS
Four Essential Registers:
 Program counter (PC): Contains the address of an instruction to be fetched.
 Instruction register (IR): Contains the instruction most recently fetched.
 Memory address register (MAR): Contains the address of a location in
memory.
 Memory buffer register (MBR): Contains a word of data to be written to
memory or the word most recently read.
Program Status Word
 Program status word (PSW) contain status information.
 The PSWtypically contains condition codes plus other status information.
 Sign: Contains the sign bit of the result of the last arithmetic operation.
 Zero: Set when the result is 0.
 Carry: Set if an operation resulted in a carry (addition) into or borrow (subtraction)out of a
high-order bit. Used for multiword arithmetic operations.
 Equal: Set if a logical compare result is equality.
 Overflow: Used to indicate arithmetic overflow.
 Interrupt Enable/Disable: Used to enable or disable interrupts.
 Supervisor: Indicates whether the processor is executing in supervisor or user mode. Certain
privileged instructions can be executed only in supervisor mode, and certain areas of memory
can be accessed only in supervisor mode
Processor organization & register organization

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computersBảo Hoang
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference InstructionsRabin BK
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formatsMazin Alwaaly
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modesRamaPrabha24
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycleutsav_shah
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-busAnuj Modi
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)Zubair Khalid
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer ArchitectureHaris456
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing ModesMayank Garg
 

Was ist angesagt? (20)

Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computers
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
 
Stack organization
Stack organizationStack organization
Stack organization
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer Architecture
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
pipelining
pipeliningpipelining
pipelining
 

Andere mochten auch

Register Organization and Instruction cycle
Register Organization and Instruction cycleRegister Organization and Instruction cycle
Register Organization and Instruction cycleMuhammad Ameer Mohavia
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycleKumar
 
2-bit comparator
2-bit comparator2-bit comparator
2-bit comparatorIslam Adel
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organizationNitesh Singh
 
Basic MIPS implementation
Basic MIPS implementationBasic MIPS implementation
Basic MIPS implementationkavitha2009
 
Madisona Avedian Resume 3-7-2016
Madisona Avedian Resume 3-7-2016Madisona Avedian Resume 3-7-2016
Madisona Avedian Resume 3-7-2016Madisona Avedian
 
Leticia, Inc.: Awards & Distinctions
Leticia, Inc.:  Awards & DistinctionsLeticia, Inc.:  Awards & Distinctions
Leticia, Inc.: Awards & DistinctionsLeticia C. Rojas
 
Historia de los navegadores
Historia de los navegadoresHistoria de los navegadores
Historia de los navegadoresjorgeesparza1999
 
STACK
STACKSTACK
STACKPCTE
 
Management by objective
Management by objectiveManagement by objective
Management by objectiveHazratBilalM
 
Obligaciones
ObligacionesObligaciones
ObligacionesJordy Tod
 
ONA 2015 – Can You Have Their Attention Please?
ONA 2015 – Can You Have Their Attention Please?ONA 2015 – Can You Have Their Attention Please?
ONA 2015 – Can You Have Their Attention Please?Chartbeat
 
Presentación meninges lcf- barrera hemapoencefalica
Presentación meninges  lcf- barrera hemapoencefalicaPresentación meninges  lcf- barrera hemapoencefalica
Presentación meninges lcf- barrera hemapoencefalicapatricia ballesteros
 
Addressing mode
Addressing modeAddressing mode
Addressing modeilakkiya
 
IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure ReportBis Aquino
 

Andere mochten auch (20)

Register Organization and Instruction cycle
Register Organization and Instruction cycleRegister Organization and Instruction cycle
Register Organization and Instruction cycle
 
Parallel processing extra
Parallel processing extraParallel processing extra
Parallel processing extra
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
2-bit comparator
2-bit comparator2-bit comparator
2-bit comparator
 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organization
 
Basic MIPS implementation
Basic MIPS implementationBasic MIPS implementation
Basic MIPS implementation
 
Madisona Avedian Resume 3-7-2016
Madisona Avedian Resume 3-7-2016Madisona Avedian Resume 3-7-2016
Madisona Avedian Resume 3-7-2016
 
Leticia, Inc.: Awards & Distinctions
Leticia, Inc.:  Awards & DistinctionsLeticia, Inc.:  Awards & Distinctions
Leticia, Inc.: Awards & Distinctions
 
CIRUGÍA ORTOGNÁTICA - RINOPLASTÍA
CIRUGÍA ORTOGNÁTICA - RINOPLASTÍACIRUGÍA ORTOGNÁTICA - RINOPLASTÍA
CIRUGÍA ORTOGNÁTICA - RINOPLASTÍA
 
Historia de los navegadores
Historia de los navegadoresHistoria de los navegadores
Historia de los navegadores
 
STACK
STACKSTACK
STACK
 
Management by objective
Management by objectiveManagement by objective
Management by objective
 
Obligaciones
ObligacionesObligaciones
Obligaciones
 
Sergio Mora 1
Sergio Mora 1Sergio Mora 1
Sergio Mora 1
 
Acc logic
Acc logicAcc logic
Acc logic
 
ONA 2015 – Can You Have Their Attention Please?
ONA 2015 – Can You Have Their Attention Please?ONA 2015 – Can You Have Their Attention Please?
ONA 2015 – Can You Have Their Attention Please?
 
Presentación meninges lcf- barrera hemapoencefalica
Presentación meninges  lcf- barrera hemapoencefalicaPresentación meninges  lcf- barrera hemapoencefalica
Presentación meninges lcf- barrera hemapoencefalica
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure Report
 
Lect12 organization
Lect12 organizationLect12 organization
Lect12 organization
 

Ähnlich wie Processor organization & register organization

the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1Basel Mansour
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvfRegisters.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvfkashafishfaq21
 
What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.Kapil Dev Das
 
16bit RISC Processor
16bit RISC Processor16bit RISC Processor
16bit RISC ProcessorShashi Suman
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of ComputersTallat Satti
 
cpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdfcpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdfBittuBaBa1
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
03. top level view of computer function & interconnection
03. top level view of computer function & interconnection03. top level view of computer function & interconnection
03. top level view of computer function & interconnectionnoman yasin
 
Computer Organization and architecture
Computer Organization and architectureComputer Organization and architecture
Computer Organization and architectureRajagopalKottarathil
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorAnuja Gunale
 

Ähnlich wie Processor organization & register organization (20)

Chapter 8
Chapter 8Chapter 8
Chapter 8
 
the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvfRegisters.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
 
What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.
 
Presentation1
Presentation1Presentation1
Presentation1
 
Cpu
CpuCpu
Cpu
 
16bit RISC Processor
16bit RISC Processor16bit RISC Processor
16bit RISC Processor
 
CPU and its execution of instruction
CPU and its execution of instructionCPU and its execution of instruction
CPU and its execution of instruction
 
CSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptxCSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptx
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
 
cpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdfcpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdf
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
03. top level view of computer function & interconnection
03. top level view of computer function & interconnection03. top level view of computer function & interconnection
03. top level view of computer function & interconnection
 
Computer Organization and architecture
Computer Organization and architectureComputer Organization and architecture
Computer Organization and architecture
 
Register
RegisterRegister
Register
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Control unit
Control  unitControl  unit
Control unit
 

Mehr von Ghanshyam Patel

Mehr von Ghanshyam Patel (6)

SSL And TLS
SSL And TLS SSL And TLS
SSL And TLS
 
Bootstrap [part 2]
Bootstrap [part 2]Bootstrap [part 2]
Bootstrap [part 2]
 
Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
 
Global management
Global managementGlobal management
Global management
 
Overpopulation in india
Overpopulation in indiaOverpopulation in india
Overpopulation in india
 
Fundamentals of Business Communication
Fundamentals of Business CommunicationFundamentals of Business Communication
Fundamentals of Business Communication
 

Kürzlich hochgeladen

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Kürzlich hochgeladen (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Processor organization & register organization

  • 2. Requirements placed on the processor  Fetch instruction: The processor reads an instruction from memory (register ,cache, main memory).  Interpret instruction: The instruction is decoded to determine what action is required.  Fetch data: The execution of an instruction may require reading data from memory or an I/O module.  Process data: The execution of an instruction may require performing some arithmetic or logical operation on data.  Write data: The results of an execution may require writing data to memory on I/O module.
  • 3. Simplified view of processor
  • 4. Components Of Processor  The major components of the processor are an arithmetic and logic unit (ALU) and a control unit (CU).  The ALU does the actual computation or processing of data.  The control unit controls the movement of data and instructions into and out of the processor and controls the operation of the ALU.  Register consists of a set of storage locations.
  • 6. Explanation  The data transfer and logic control paths are indicated, including an element labeled internal processor bus.  This element is needed to transfer data between the various registers and the ALU because the ALU in fact operates only on data in the internal processor memory.
  • 8.  The register in the processor perform two roles: 1. User-visible register: Enable the machine- or assembly language programmer to minimize main memory references by optimizing use of registers. 2. Control and status registers:Used by the control unit to control the operation of the processor and by privileged, operating system programs to control the execution of programs.
  • 9. User-visible Registers CATEGORIES:-  General Purpose  Data  Address  Condition Codes
  • 10. General Purpose  General Purpose Registers can be assigned to a variety of functions by the programmer  Mostly these registers contain the operand for any opcode.  In some cases these are used for addressing purpose.
  • 11. Data Registers  Data Register to hold data and cannot be employed in the calculation of an operand address  Eg. Accumulator.
  • 12. Address Registers  Address Register they may be devoted to a particular addressing mode  Segment pointers :a segment register holds the address of the base of the segment  Index registers :are used for indexed addressing and may be autoindexed.  Stack Pointer: If there is user-visible stack addressing, then typically there is a dedicated register that points to the top of the stack.
  • 13. Condition Codes  Condition codes are bits set by the processor hardware as the result of operations.  Condition codes are bits set by the processor hardware as the result of operation.
  • 14. CONTROL AND STATUS REGISTERS Four Essential Registers:  Program counter (PC): Contains the address of an instruction to be fetched.  Instruction register (IR): Contains the instruction most recently fetched.  Memory address register (MAR): Contains the address of a location in memory.  Memory buffer register (MBR): Contains a word of data to be written to memory or the word most recently read.
  • 15. Program Status Word  Program status word (PSW) contain status information.  The PSWtypically contains condition codes plus other status information.  Sign: Contains the sign bit of the result of the last arithmetic operation.  Zero: Set when the result is 0.  Carry: Set if an operation resulted in a carry (addition) into or borrow (subtraction)out of a high-order bit. Used for multiword arithmetic operations.  Equal: Set if a logical compare result is equality.  Overflow: Used to indicate arithmetic overflow.  Interrupt Enable/Disable: Used to enable or disable interrupts.  Supervisor: Indicates whether the processor is executing in supervisor or user mode. Certain privileged instructions can be executed only in supervisor mode, and certain areas of memory can be accessed only in supervisor mode