SlideShare a Scribd company logo
1 of 9
Download to read offline
Topic: Basic Machine Organization
What is “Computer Architecture”?
Computer Architecture consists of two parts;
1) Instruction Set Architecture (ISA) : which is Software.
2) Machine Organization : H/W and Design
“ISA (Instruction Set Architecture)”?
 Instructions, Addressing modes, Instruction and data formats, Register
 Instruction Set Architecture
 Organization of Programmable Storage
 Data type and Structures: encodings and machine representation
 Instruction set
 Instruction Formats
 Addressing Modes and Accessing Data and Instructions
 Exception Handling
“Machine Organization”?
 CPU (Control & Data path), Memory, Input /Output
 Capabilities and Performance of the Basic Functional Units
 The Way These Units are Interconnected
 Information Flow between components
 Information Flow Control
Some Basic Definitions:
Computer: A machine that can receive and store information and change or process it.
Information: Knowledge that is communicated.
COMPONENTS OF A COMPUTER?
Computers are made up of two parts: the hardware and the software.
Hardware: The physical equipment required to create, use, manipulate and store electronic data.
Software: The computerized instructions that operate a computer, manipulate the data and execute
particular functions or tasks.
All computers require the following hardware components:
 Central processing unit (CPU): The chip or chips at the heart of a computer that enable
it to process data. Also known as a processor.
 Memory: An area within a computer system that holds data waiting to be processed.
 Storage device: The place where a computer puts data.
 Input devices: the devices that allow data and instructions to enter a computer (such as a
keyboard, mouse and scanner). Any resource required for the functioning of a process, in
the course of which it will be transformed into one or more outputs.
 Output devices: the devices that allow information to be represented (that is, given out)
to the user, such as a display screen or printer). The product of the transformation of
inputs by a process.
 Peripheral device: Any piece of equipment in a computer system that is not actually
inside the Computer itself. Printers, scanners and external disk drives that may be
connected to the computer are also sometimes called „peripheral devices‟.
The central processing unit (CPU) is the heart of the computer. It carries out all of the instructions given
in a program, such as a word processing or spreadsheet program. The CPU consists of one or more chips
(another name for “integrated circuits”).
Chip: A small piece of semi-conducting material (such as silicon) about 1 centimetre (¼ inch) square on
which an integrated circuit is embedded. An integrated circuit is a number of electronic components
joined together to form a path for electricity. Central processing unit chips contain the circuits
representing the CPU.
A microprocessor is a particular type of chip. The original IBM personal computer used the Intel 8088
microprocessor.
Memory: The most common type of memory that most users are familiar with is „main memory‟or
„RAM‟ (random-access memory).Random access memory (RAM): An area in the computer system unit
that temporarily holds a user‟s data, operating system instructions and program instructions.
Every time a user turns on his or her computer, a set of operating instructions is copied from the hard disk
into RAM. These instructions, which help control basic computer functions, remain in RAM until the
computer is turned off. Most RAM is volatile, which means that it requires a steady flow of electricity to
maintain its contents. As soon as the power is turned off, whatever data was in RAM disappears. The
contents of RAM are necessary for the computer to process data. The results of the processing are kept
temporarily in RAM until they are needed again or until they are saved onto the hard disk or other storage
device. Today the storage capacity of RAM is measured in megabytes (GB). PCs (microcomputers) that
have between 16 and 64 MB of RAM, means they can hold between 16 and 64 million bytes of data (a
standard A4 page of text typically holds about 2,000 bytes or characters of text).
Other types of memory include
ROM (read only memory): unlike RAM, ROM is non-volatile and only permits the user to read data.
Computers almost always contain a small amount of read-only memory that holds instructions for starting
up the computer.
The word „main‟ is used to distinguish it from external mass storage devices such as the hard drive or
disk drives. Note that the term „mass storage‟ refers to various techniques and devices for storing large
amounts of data; mass storage is distinct from memory because it retains data even when the computer is
turned off. Thus mass storage is sometimes referred to as „auxiliary storage‟. Following are definitions of
common storage devices:
Storage: The area within a computer system where data can be left on a longer term basis while it is not
needed for processing.
Diskette. A small, removable, flexible mylar plastic disk covered with a thin layer of a magnetisable
substance, onto which digital data can be recorded and stored. Also known as a floppy disk.
Hard drive: The storage area within the computer itself, where megabytes of space are available to store
bits of information. Also known as a hard disk.
Optical disk: A storage device that uses reflecting surfaces and laser technology to read and write data on
a disk. Also known as a laser disk.
Magnetic tape: A continuous plastic strip covered with magnetic oxide; the tape is divided into parallel
tracks onto which data may be recorded by selectively magnetising parts of the surface, or spots, in each
of the tracks. The data can then be stored and reused.
Arithmetic Logic Unit:
The arithmetic and logic unit is the portion of the CPU where arithmetic and logical operations take place.
The control unit is the part of the CPU that supervises the general operations of the computer. The
registers are devices that hold data inside the computer‟s memory long enough to execute a particular
function, such as indexing, calculating, sorting or otherwise manipulating data. They are the CPU‟s own
internal memory. Data travels from one part of the computer to another through a kind of path known as a
bus.
Bus: The channel or path that lets the parts of a computer communicate with each other.
HOW ARE DATA STORED?
It is very important to distinguish between memory, which refers to the circuitry that has a direct link to
the computer processor, and the storage, which refers to media such as disks that are not directly linked to
the processor. Remember, a storage device is anything that is used to store computer data. Floppy disks,
hard disks, optical disks, CDs and magnetic tapes are all types of storage device.
Physical storage refers to how data are actually kept on the storage disk. The most commonly used
medium for storage is magnetic storage. With magnetic storage the computer stores data on disks and tape
by magnetising selected particles of an oxide-based surface coating. The particles retain their magnetic
orientation until that orientation is changed. Thus magnetic disks and tapes are modifiable storage media.
The two most popular types of magnetic storage media are hard disks and diskettes.
Back up: To copy a computer file or collection of files to a second medium, usually on a diskette or
magnetic tape, so that the data are safe in case the original file is damaged or lost. Backups are usually
copied to storage devices that can be removed from the computer and kept separately from the original.
In addition to magnetic storage, there is also optical storage.
Virus: A computer program that is planted in one computer and then transferred, hidden in useful
information, to one or more other computers with the intention of corrupting or wiping out information in
the recipient computer.
Top Level Structure
 Input
 Output
 Memory
 Datapath
 Control
System Interconnection:
The “system bus” Provides the way to move data among the CPU, I/O, and Main Memory. In a
microprocessor based system the bus is external to the processor chip.
Input/Output
Moves date between the computer and “the outside world”. In modern systems the “outside
world” is usually another bus (PCI, ISA, VME) that connects to peripheral interface cards.
Current PC speeds ~256 Mbyte/sec.
Main Memory
Stores both data and instructions (von Neumann architecture). Read/Write access. Addressed by
location, not by content. PC access times ~60 nsec.
Central Processing Unit
Controls operation of the computer. Interprets stored instructions. Operates on data. Current PC
operating speeds ~1 GHz. Contains a number of complex components
Control Unit
Controls operation of the CPU. Fetches Instructions and Data for the ALU. Keeps the other
components in step.
Arithmetic and Logic Unit (ALU).
Performs the computer‟s data processing functions. In modern designs operates on data in the
Registers. It Can contain several independent, more specialized sub-units.
Registers (register set of file).
Holds data being manipulated by the ALU. Fast, runs at the same speed as the CPU. Current size
32 bits, moving to 64 bits. Can be specialized (i.e. floating point registers, MMX
registers).Modern machines have many registers.
Internal CPU Interconnection.
Called “internal data path(s)”.Used to move date to/from registers and the ALU. Usually as wide
or wider than the registers. Runs at CPU speeds - 1 GHz x 128 bits = 16 Gbytes/sec. Usually
does not go off the cpu chip.
Basic Machine Organization:
Three fundamental components of the of computer are used,which are;
 The CPU (ALU, Control Unit, Registers)
 The Memory Subsystem (Stored Data)
 The I/O subsystem (I/O devices)
Each of those components are connected through buses.
BUS - Physically a set of wires. The components of the Computer are connected to these buses.
 Address Bus
 Data Bus
 Control Bus
Address Bus:
 Used to specify the address of the memory location to access.
 Each I/O devices has a unique address. (monitor, mouse, cd-rom)
 CPU reads data or instructions from other locations by specifying the address of its
location.
 CPU always outputs to the address bus and never reads from it.
Data Bus:
 Actual data is transferred via the data bus.
 When the cpu sends an address to memory, the memory will send data via the data bus in
return to the cpu.
Control Bus:
 Collection of individual control signals.
 Whether the cpu will read or write data.
 CPU is accessing memory or an I/O device
 Memory or I/O is ready to transfer data.
Instruction Cycles:
Procedure the CPU goes through to process an instruction.
1. Instruction Fetch - get instruction
2. Instruction Decode - interperate the instruction
3. Operand Fetch.
4. Execute Instruction - run the instruction.
5. Write Back Unit.
1. Instruction Fetch:
 When CPU is ready the it will assert the read control signal.
 Depending on the CPU the read can be active high (1) or low (0).
 After being asserted the subsystem will return the data through the data bus.
 The CPU will then receive this data and store into one of its registers
2. Instruction Decode:
 Now the CPU will decode the instruction.
 The CPU will determine the sequences of commands needed to perform.
 Each instruction can require different sequences of operations.
 This is perform within the CPU with no system buses.
3. Operand Fetch:
 Fetches the operand to process data.
 Different Operand may fetch in different sequence.
4. Instruction Execute:
 The CPU will now execute the instruction.
 This sequence will vary from different instructions.
5. Write Back:
 Read or write data to memory or I/O subsystem.
The CPU controls the Computer. The CPU fetch, decode and execute instructions. The CPU has three
internal sections: register section, ALU and Control Unit
Example: Addition of two numbers A & B
Instruction Level Parallelism:
 A five-stage pipeline
 The state of each stage as a function of time. Nine clock cycles are illustrated

More Related Content

What's hot (20)

Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
Operating system
Operating system Operating system
Operating system
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Computer system bus
Computer system busComputer system bus
Computer system bus
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
 
computer software
computer softwarecomputer software
computer software
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
Computer System Organization
Computer System OrganizationComputer System Organization
Computer System Organization
 
Classification of Computer
Classification of ComputerClassification of Computer
Classification of Computer
 
Introduction to Computer Software
Introduction to Computer SoftwareIntroduction to Computer Software
Introduction to Computer Software
 
Central Processing Unit
Central Processing UnitCentral Processing Unit
Central Processing Unit
 
Cpu ppt cse
Cpu ppt cseCpu ppt cse
Cpu ppt cse
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Computer Software & its Types
Computer Software & its Types Computer Software & its Types
Computer Software & its Types
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 

Viewers also liked (20)

Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
 
Dld lecture module 05
Dld lecture module 05Dld lecture module 05
Dld lecture module 05
 
English 01 application
English 01 applicationEnglish 01 application
English 01 application
 
Uncdtalk
UncdtalkUncdtalk
Uncdtalk
 
Dld lecture module 02
Dld lecture module 02Dld lecture module 02
Dld lecture module 02
 
Graphical programming
Graphical programmingGraphical programming
Graphical programming
 
Number+system (1)
Number+system (1)Number+system (1)
Number+system (1)
 
Dld lecture module 06
Dld lecture module 06Dld lecture module 06
Dld lecture module 06
 
Dld lecture module 03
Dld lecture module 03Dld lecture module 03
Dld lecture module 03
 
Complement
ComplementComplement
Complement
 
Chapter10
Chapter10Chapter10
Chapter10
 
Good
GoodGood
Good
 
Dld lecture module 04 01
Dld lecture module 04  01Dld lecture module 04  01
Dld lecture module 04 01
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Internet
InternetInternet
Internet
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
An introduction to software
An introduction to softwareAn introduction to software
An introduction to software
 
Notes of programming
Notes of programmingNotes of programming
Notes of programming
 

Similar to Basic Machine Organization Components

Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computerNoor Zada
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdfODINARARCH
 
Ch.01 introduction to_computers
Ch.01 introduction  to_computersCh.01 introduction  to_computers
Ch.01 introduction to_computersejistcaloocan
 
Principles of Information Technology
Principles of Information TechnologyPrinciples of Information Technology
Principles of Information TechnologySubair Ali
 
Ch.01 introduction to_computers
Ch.01 introduction  to_computersCh.01 introduction  to_computers
Ch.01 introduction to_computersSimmisar
 
CT01 Computer Basics
CT01 Computer BasicsCT01 Computer Basics
CT01 Computer Basicsehillpamlico
 
Ch.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfCh.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfsaurabhChandbodhale
 
Ch.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfCh.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfMewledMohammed
 
cosa ho detto nella mia presentazione in inglese
cosa ho detto nella mia presentazione in inglesecosa ho detto nella mia presentazione in inglese
cosa ho detto nella mia presentazione in ingleseMattia Gandini
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsJack Hyman
 
Components of computer systems
Components of computer systemsComponents of computer systems
Components of computer systemsZainab&Sons
 
Computer hardware servicing lesson 2:Perform Mensuration And Calculation
Computer hardware servicing lesson 2:Perform Mensuration And CalculationComputer hardware servicing lesson 2:Perform Mensuration And Calculation
Computer hardware servicing lesson 2:Perform Mensuration And CalculationA J
 

Similar to Basic Machine Organization Components (20)

Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
 
Ch.01 introduction to_computers
Ch.01 introduction  to_computersCh.01 introduction  to_computers
Ch.01 introduction to_computers
 
Principles of Information Technology
Principles of Information TechnologyPrinciples of Information Technology
Principles of Information Technology
 
Ch.01 introduction to_computers
Ch.01 introduction  to_computersCh.01 introduction  to_computers
Ch.01 introduction to_computers
 
Chapter 1 CSC118
Chapter 1 CSC118 Chapter 1 CSC118
Chapter 1 CSC118
 
CT01 Computer Basics
CT01 Computer BasicsCT01 Computer Basics
CT01 Computer Basics
 
Ch.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfCh.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdf
 
Ch.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdfCh.01_Introduction_ to_computers.pdf
Ch.01_Introduction_ to_computers.pdf
 
cosa ho detto nella mia presentazione in inglese
cosa ho detto nella mia presentazione in inglesecosa ho detto nella mia presentazione in inglese
cosa ho detto nella mia presentazione in inglese
 
Computer Basic
Computer BasicComputer Basic
Computer Basic
 
Csc118 chapter1
Csc118 chapter1Csc118 chapter1
Csc118 chapter1
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
 
Components of computer systems
Components of computer systemsComponents of computer systems
Components of computer systems
 
K K
K KK K
K K
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
 
Computer hardware servicing lesson 2:Perform Mensuration And Calculation
Computer hardware servicing lesson 2:Perform Mensuration And CalculationComputer hardware servicing lesson 2:Perform Mensuration And Calculation
Computer hardware servicing lesson 2:Perform Mensuration And Calculation
 

More from Bilal Maqbool ツ

Programming assignment 02 (bilal maqbool 10) 2011
Programming assignment 02    (bilal maqbool 10) 2011Programming assignment 02    (bilal maqbool 10) 2011
Programming assignment 02 (bilal maqbool 10) 2011Bilal Maqbool ツ
 
Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11Bilal Maqbool ツ
 
Presentation internet programming report
Presentation internet programming reportPresentation internet programming report
Presentation internet programming reportBilal Maqbool ツ
 
How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...Bilal Maqbool ツ
 
Advantages and disadvantages of LCD
Advantages and disadvantages of LCDAdvantages and disadvantages of LCD
Advantages and disadvantages of LCDBilal Maqbool ツ
 
Computing assignment 02 ms access (bilal maqbool 10) se-i
Computing assignment 02   ms access (bilal maqbool 10)          se-iComputing assignment 02   ms access (bilal maqbool 10)          se-i
Computing assignment 02 ms access (bilal maqbool 10) se-iBilal Maqbool ツ
 

More from Bilal Maqbool ツ (18)

Lecture 3 report writtng
Lecture 3 report writtngLecture 3 report writtng
Lecture 3 report writtng
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1 report writing
Lecture 1 report writingLecture 1 report writing
Lecture 1 report writing
 
Bill gates
Bill gatesBill gates
Bill gates
 
Programming assignment 02 (bilal maqbool 10) 2011
Programming assignment 02    (bilal maqbool 10) 2011Programming assignment 02    (bilal maqbool 10) 2011
Programming assignment 02 (bilal maqbool 10) 2011
 
Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11
 
Internet presentation
Internet presentationInternet presentation
Internet presentation
 
Presentation internet programming report
Presentation internet programming reportPresentation internet programming report
Presentation internet programming report
 
Magnetic storage devices
Magnetic storage devicesMagnetic storage devices
Magnetic storage devices
 
How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...
 
Math assignment Program
Math assignment ProgramMath assignment Program
Math assignment Program
 
Final of sentences PPT
Final of sentences PPTFinal of sentences PPT
Final of sentences PPT
 
Advantages and disadvantages of LCD
Advantages and disadvantages of LCDAdvantages and disadvantages of LCD
Advantages and disadvantages of LCD
 
A history of windows
A history of windowsA history of windows
A history of windows
 
Lcd
LcdLcd
Lcd
 
Bluetooth 27 01-12 PPT
Bluetooth 27 01-12 PPTBluetooth 27 01-12 PPT
Bluetooth 27 01-12 PPT
 
Bluetooth PPT Report
Bluetooth PPT ReportBluetooth PPT Report
Bluetooth PPT Report
 
Computing assignment 02 ms access (bilal maqbool 10) se-i
Computing assignment 02   ms access (bilal maqbool 10)          se-iComputing assignment 02   ms access (bilal maqbool 10)          se-i
Computing assignment 02 ms access (bilal maqbool 10) se-i
 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Basic Machine Organization Components

  • 1. Topic: Basic Machine Organization What is “Computer Architecture”? Computer Architecture consists of two parts; 1) Instruction Set Architecture (ISA) : which is Software. 2) Machine Organization : H/W and Design “ISA (Instruction Set Architecture)”?  Instructions, Addressing modes, Instruction and data formats, Register  Instruction Set Architecture  Organization of Programmable Storage  Data type and Structures: encodings and machine representation  Instruction set  Instruction Formats  Addressing Modes and Accessing Data and Instructions  Exception Handling “Machine Organization”?  CPU (Control & Data path), Memory, Input /Output  Capabilities and Performance of the Basic Functional Units  The Way These Units are Interconnected  Information Flow between components  Information Flow Control Some Basic Definitions: Computer: A machine that can receive and store information and change or process it. Information: Knowledge that is communicated. COMPONENTS OF A COMPUTER? Computers are made up of two parts: the hardware and the software. Hardware: The physical equipment required to create, use, manipulate and store electronic data. Software: The computerized instructions that operate a computer, manipulate the data and execute particular functions or tasks. All computers require the following hardware components:
  • 2.  Central processing unit (CPU): The chip or chips at the heart of a computer that enable it to process data. Also known as a processor.  Memory: An area within a computer system that holds data waiting to be processed.  Storage device: The place where a computer puts data.  Input devices: the devices that allow data and instructions to enter a computer (such as a keyboard, mouse and scanner). Any resource required for the functioning of a process, in the course of which it will be transformed into one or more outputs.  Output devices: the devices that allow information to be represented (that is, given out) to the user, such as a display screen or printer). The product of the transformation of inputs by a process.  Peripheral device: Any piece of equipment in a computer system that is not actually inside the Computer itself. Printers, scanners and external disk drives that may be connected to the computer are also sometimes called „peripheral devices‟. The central processing unit (CPU) is the heart of the computer. It carries out all of the instructions given in a program, such as a word processing or spreadsheet program. The CPU consists of one or more chips (another name for “integrated circuits”). Chip: A small piece of semi-conducting material (such as silicon) about 1 centimetre (¼ inch) square on which an integrated circuit is embedded. An integrated circuit is a number of electronic components joined together to form a path for electricity. Central processing unit chips contain the circuits representing the CPU. A microprocessor is a particular type of chip. The original IBM personal computer used the Intel 8088 microprocessor. Memory: The most common type of memory that most users are familiar with is „main memory‟or „RAM‟ (random-access memory).Random access memory (RAM): An area in the computer system unit that temporarily holds a user‟s data, operating system instructions and program instructions. Every time a user turns on his or her computer, a set of operating instructions is copied from the hard disk into RAM. These instructions, which help control basic computer functions, remain in RAM until the computer is turned off. Most RAM is volatile, which means that it requires a steady flow of electricity to maintain its contents. As soon as the power is turned off, whatever data was in RAM disappears. The contents of RAM are necessary for the computer to process data. The results of the processing are kept temporarily in RAM until they are needed again or until they are saved onto the hard disk or other storage device. Today the storage capacity of RAM is measured in megabytes (GB). PCs (microcomputers) that have between 16 and 64 MB of RAM, means they can hold between 16 and 64 million bytes of data (a standard A4 page of text typically holds about 2,000 bytes or characters of text). Other types of memory include ROM (read only memory): unlike RAM, ROM is non-volatile and only permits the user to read data. Computers almost always contain a small amount of read-only memory that holds instructions for starting up the computer.
  • 3. The word „main‟ is used to distinguish it from external mass storage devices such as the hard drive or disk drives. Note that the term „mass storage‟ refers to various techniques and devices for storing large amounts of data; mass storage is distinct from memory because it retains data even when the computer is turned off. Thus mass storage is sometimes referred to as „auxiliary storage‟. Following are definitions of common storage devices: Storage: The area within a computer system where data can be left on a longer term basis while it is not needed for processing. Diskette. A small, removable, flexible mylar plastic disk covered with a thin layer of a magnetisable substance, onto which digital data can be recorded and stored. Also known as a floppy disk. Hard drive: The storage area within the computer itself, where megabytes of space are available to store bits of information. Also known as a hard disk. Optical disk: A storage device that uses reflecting surfaces and laser technology to read and write data on a disk. Also known as a laser disk. Magnetic tape: A continuous plastic strip covered with magnetic oxide; the tape is divided into parallel tracks onto which data may be recorded by selectively magnetising parts of the surface, or spots, in each of the tracks. The data can then be stored and reused. Arithmetic Logic Unit: The arithmetic and logic unit is the portion of the CPU where arithmetic and logical operations take place. The control unit is the part of the CPU that supervises the general operations of the computer. The registers are devices that hold data inside the computer‟s memory long enough to execute a particular function, such as indexing, calculating, sorting or otherwise manipulating data. They are the CPU‟s own internal memory. Data travels from one part of the computer to another through a kind of path known as a bus. Bus: The channel or path that lets the parts of a computer communicate with each other. HOW ARE DATA STORED? It is very important to distinguish between memory, which refers to the circuitry that has a direct link to the computer processor, and the storage, which refers to media such as disks that are not directly linked to the processor. Remember, a storage device is anything that is used to store computer data. Floppy disks, hard disks, optical disks, CDs and magnetic tapes are all types of storage device. Physical storage refers to how data are actually kept on the storage disk. The most commonly used medium for storage is magnetic storage. With magnetic storage the computer stores data on disks and tape by magnetising selected particles of an oxide-based surface coating. The particles retain their magnetic orientation until that orientation is changed. Thus magnetic disks and tapes are modifiable storage media. The two most popular types of magnetic storage media are hard disks and diskettes. Back up: To copy a computer file or collection of files to a second medium, usually on a diskette or magnetic tape, so that the data are safe in case the original file is damaged or lost. Backups are usually copied to storage devices that can be removed from the computer and kept separately from the original. In addition to magnetic storage, there is also optical storage.
  • 4. Virus: A computer program that is planted in one computer and then transferred, hidden in useful information, to one or more other computers with the intention of corrupting or wiping out information in the recipient computer. Top Level Structure  Input  Output  Memory  Datapath  Control System Interconnection: The “system bus” Provides the way to move data among the CPU, I/O, and Main Memory. In a microprocessor based system the bus is external to the processor chip. Input/Output Moves date between the computer and “the outside world”. In modern systems the “outside world” is usually another bus (PCI, ISA, VME) that connects to peripheral interface cards. Current PC speeds ~256 Mbyte/sec. Main Memory Stores both data and instructions (von Neumann architecture). Read/Write access. Addressed by location, not by content. PC access times ~60 nsec. Central Processing Unit Controls operation of the computer. Interprets stored instructions. Operates on data. Current PC operating speeds ~1 GHz. Contains a number of complex components
  • 5. Control Unit Controls operation of the CPU. Fetches Instructions and Data for the ALU. Keeps the other components in step. Arithmetic and Logic Unit (ALU). Performs the computer‟s data processing functions. In modern designs operates on data in the Registers. It Can contain several independent, more specialized sub-units. Registers (register set of file). Holds data being manipulated by the ALU. Fast, runs at the same speed as the CPU. Current size 32 bits, moving to 64 bits. Can be specialized (i.e. floating point registers, MMX registers).Modern machines have many registers. Internal CPU Interconnection. Called “internal data path(s)”.Used to move date to/from registers and the ALU. Usually as wide or wider than the registers. Runs at CPU speeds - 1 GHz x 128 bits = 16 Gbytes/sec. Usually does not go off the cpu chip.
  • 6. Basic Machine Organization: Three fundamental components of the of computer are used,which are;  The CPU (ALU, Control Unit, Registers)  The Memory Subsystem (Stored Data)  The I/O subsystem (I/O devices) Each of those components are connected through buses. BUS - Physically a set of wires. The components of the Computer are connected to these buses.  Address Bus  Data Bus  Control Bus Address Bus:  Used to specify the address of the memory location to access.  Each I/O devices has a unique address. (monitor, mouse, cd-rom)  CPU reads data or instructions from other locations by specifying the address of its location.  CPU always outputs to the address bus and never reads from it. Data Bus:  Actual data is transferred via the data bus.  When the cpu sends an address to memory, the memory will send data via the data bus in return to the cpu. Control Bus:  Collection of individual control signals.  Whether the cpu will read or write data.  CPU is accessing memory or an I/O device  Memory or I/O is ready to transfer data.
  • 7. Instruction Cycles: Procedure the CPU goes through to process an instruction. 1. Instruction Fetch - get instruction 2. Instruction Decode - interperate the instruction 3. Operand Fetch. 4. Execute Instruction - run the instruction. 5. Write Back Unit. 1. Instruction Fetch:  When CPU is ready the it will assert the read control signal.  Depending on the CPU the read can be active high (1) or low (0).  After being asserted the subsystem will return the data through the data bus.  The CPU will then receive this data and store into one of its registers 2. Instruction Decode:  Now the CPU will decode the instruction.  The CPU will determine the sequences of commands needed to perform.  Each instruction can require different sequences of operations.  This is perform within the CPU with no system buses. 3. Operand Fetch:  Fetches the operand to process data.  Different Operand may fetch in different sequence. 4. Instruction Execute:  The CPU will now execute the instruction.  This sequence will vary from different instructions. 5. Write Back:  Read or write data to memory or I/O subsystem. The CPU controls the Computer. The CPU fetch, decode and execute instructions. The CPU has three internal sections: register section, ALU and Control Unit
  • 8. Example: Addition of two numbers A & B
  • 9. Instruction Level Parallelism:  A five-stage pipeline  The state of each stage as a function of time. Nine clock cycles are illustrated