SlideShare a Scribd company logo
2
Most read
8
Most read
11
Most read
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

More Related Content

PPT
Basic structure of computers
Kumar
 
PPTX
Elements of cache design
Rohail Butt
 
PPTX
Virtual reality ppt
Saisha Nesarikar
 
PDF
Computer architecture
Zuhaib Zaroon
 
PPTX
Multimedia graphics and image data representation
Mazin Alwaaly
 
PPSX
Bohr's model
Sidra Javed
 
PPTX
Stacks & subroutines 1
deval patel
 
Basic structure of computers
Kumar
 
Elements of cache design
Rohail Butt
 
Virtual reality ppt
Saisha Nesarikar
 
Computer architecture
Zuhaib Zaroon
 
Multimedia graphics and image data representation
Mazin Alwaaly
 
Bohr's model
Sidra Javed
 
Stacks & subroutines 1
deval patel
 

What's hot (20)

PPTX
Microprogrammed Control Unit
PreethiSureshkumar1
 
PDF
Unit 4-input-output organization
vishal choudhary
 
PPTX
Memory Organization
Kamal Acharya
 
PPT
Microprocessor 80386
yash sawarkar
 
PPT
Microprogram Control
Anuj Modi
 
PPTX
register
Taimoor Ashraf
 
PDF
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
samirbharat77
 
PPT
Instruction cycle
shweta-sharma99
 
PPT
Instruction format
Sanjeev Patel
 
PPTX
Computer Organisation - Addressing Modes
ArunaDevi63
 
PPTX
Peephole optimization techniques
garishma bhatia
 
PPTX
Types of Instruction Format
Dhrumil Panchal
 
PPT
Registers
Sahil Bansal
 
PPTX
Assembly Language
Ibrahimcommunication Al Ani
 
PPTX
Input Output Organization
Kamal Acharya
 
PPT
pipelining
Siddique Ibrahim
 
PPS
Virtual memory
Anuj Modi
 
PPTX
Micro program example
rajshreemuthiah
 
PPTX
General register organization (computer organization)
rishi ram khanal
 
DOCX
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
Microprogrammed Control Unit
PreethiSureshkumar1
 
Unit 4-input-output organization
vishal choudhary
 
Memory Organization
Kamal Acharya
 
Microprocessor 80386
yash sawarkar
 
Microprogram Control
Anuj Modi
 
register
Taimoor Ashraf
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
samirbharat77
 
Instruction cycle
shweta-sharma99
 
Instruction format
Sanjeev Patel
 
Computer Organisation - Addressing Modes
ArunaDevi63
 
Peephole optimization techniques
garishma bhatia
 
Types of Instruction Format
Dhrumil Panchal
 
Registers
Sahil Bansal
 
Assembly Language
Ibrahimcommunication Al Ani
 
Input Output Organization
Kamal Acharya
 
pipelining
Siddique Ibrahim
 
Virtual memory
Anuj Modi
 
Micro program example
rajshreemuthiah
 
General register organization (computer organization)
rishi ram khanal
 
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
Ad

Viewers also liked (20)

PPTX
Register organization, stack
Asif Iqbal
 
PPTX
Register Organization and Instruction cycle
Muhammad Ameer Mohavia
 
PPT
Parallel processing extra
Er Girdhari Lal Kumawat
 
PDF
Instruction cycle
Kumar
 
PPSX
2-bit comparator
Islam Adel
 
PPT
Basic computer organization
Nitesh Singh
 
PPT
Basic MIPS implementation
kavitha2009
 
DOCX
Madisona Avedian Resume 3-7-2016
Madisona Avedian
 
PDF
Leticia, Inc.: Awards & Distinctions
Leticia C. Rojas
 
PPTX
CIRUGÍA ORTOGNÁTICA - RINOPLASTÍA
Hernán Molina Delgado
 
PPTX
Historia de los navegadores
jorgeesparza1999
 
PPT
STACK
PCTE
 
PPTX
Management by objective
HazratBilalM
 
PPTX
Obligaciones
Jordy Tod
 
PPSX
Sergio Mora 1
decsavirtual
 
PPTX
Acc logic
Shivam Bharti
 
PDF
ONA 2015 – Can You Have Their Attention Please?
Chartbeat
 
PPTX
Presentación meninges lcf- barrera hemapoencefalica
patricia ballesteros
 
PPTX
Addressing mode
ilakkiya
 
PPT
IT209 Cpu Structure Report
Bis Aquino
 
Register organization, stack
Asif Iqbal
 
Register Organization and Instruction cycle
Muhammad Ameer Mohavia
 
Parallel processing extra
Er Girdhari Lal Kumawat
 
Instruction cycle
Kumar
 
2-bit comparator
Islam Adel
 
Basic computer organization
Nitesh Singh
 
Basic MIPS implementation
kavitha2009
 
Madisona Avedian Resume 3-7-2016
Madisona Avedian
 
Leticia, Inc.: Awards & Distinctions
Leticia C. Rojas
 
CIRUGÍA ORTOGNÁTICA - RINOPLASTÍA
Hernán Molina Delgado
 
Historia de los navegadores
jorgeesparza1999
 
STACK
PCTE
 
Management by objective
HazratBilalM
 
Obligaciones
Jordy Tod
 
Sergio Mora 1
decsavirtual
 
Acc logic
Shivam Bharti
 
ONA 2015 – Can You Have Their Attention Please?
Chartbeat
 
Presentación meninges lcf- barrera hemapoencefalica
patricia ballesteros
 
Addressing mode
ilakkiya
 
IT209 Cpu Structure Report
Bis Aquino
 
Ad

Similar to Processor organization & register organization (20)

PPTX
Chapter_06_Processor_Structure_And_Function.pptx
yohannestafete
 
PPTX
Chapter 8
Er. Nawaraj Bhandari
 
PPT
coa Chapter 2 final edited*Minimum 40 characters required.ppt
fathibanki
 
DOC
the-cpu-design-central-processing-unit-design-1
Basel Mansour
 
PPTX
UNIT -1 COMPUTER ORGANIZATION (1).pptxxc
bhaskarsai499
 
PDF
Various type of register
Muhammad Taqi Hassan Bukhari
 
PPTX
ARM Architecture and Instruction set.pptx
gsingh20be20
 
PPTX
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
kashafishfaq21
 
PDF
What is CPU Register? Type of CPU Register.
Kapil Dev Das
 
PPTX
Chapter 2 Central Processing Unit .pptx
080msdsa024yatru
 
PPTX
Presentation1
Haya Saani
 
PDF
Processor Organization and Architecture
Vinit Raut
 
PPTX
16bit RISC Processor
Shashi Suman
 
PPTX
CPU and its execution of instruction
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
CSA PPT UNIT 1.pptx
sukhpreetsingh295239
 
PPTX
The Basic Organization of Computers
Tallat Satti
 
PDF
cpuorganisation-140723043011-phpapp02.pdf
BittuBaBa1
 
PPT
Addressing modes (detailed data path)
Mahesh Kumar Attri
 
PPTX
oLecture09-Internal Organization of CPU.pptx
IsuriUmayangana
 
Chapter_06_Processor_Structure_And_Function.pptx
yohannestafete
 
coa Chapter 2 final edited*Minimum 40 characters required.ppt
fathibanki
 
the-cpu-design-central-processing-unit-design-1
Basel Mansour
 
UNIT -1 COMPUTER ORGANIZATION (1).pptxxc
bhaskarsai499
 
Various type of register
Muhammad Taqi Hassan Bukhari
 
ARM Architecture and Instruction set.pptx
gsingh20be20
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
kashafishfaq21
 
What is CPU Register? Type of CPU Register.
Kapil Dev Das
 
Chapter 2 Central Processing Unit .pptx
080msdsa024yatru
 
Presentation1
Haya Saani
 
Processor Organization and Architecture
Vinit Raut
 
16bit RISC Processor
Shashi Suman
 
CPU and its execution of instruction
baabtra.com - No. 1 supplier of quality freshers
 
CSA PPT UNIT 1.pptx
sukhpreetsingh295239
 
The Basic Organization of Computers
Tallat Satti
 
cpuorganisation-140723043011-phpapp02.pdf
BittuBaBa1
 
Addressing modes (detailed data path)
Mahesh Kumar Attri
 
oLecture09-Internal Organization of CPU.pptx
IsuriUmayangana
 

More from Ghanshyam Patel (6)

PPTX
SSL And TLS
Ghanshyam Patel
 
PPTX
Bootstrap [part 2]
Ghanshyam Patel
 
PPTX
Bootstrap [part 1]
Ghanshyam Patel
 
PPTX
Global management
Ghanshyam Patel
 
PPTX
Overpopulation in india
Ghanshyam Patel
 
PPTX
Fundamentals of Business Communication
Ghanshyam Patel
 
SSL And TLS
Ghanshyam Patel
 
Bootstrap [part 2]
Ghanshyam Patel
 
Bootstrap [part 1]
Ghanshyam Patel
 
Global management
Ghanshyam Patel
 
Overpopulation in india
Ghanshyam Patel
 
Fundamentals of Business Communication
Ghanshyam Patel
 

Recently uploaded (20)

PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 

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