SlideShare a Scribd company logo
1 of 34
The Microprocessor-based PC
System
Prima Dewi Purnamasari
Microprocessor
Electrical Engineering Department
University of Indonesia
What is Computer?
• Basically, there are 3 components to build a
computer, and those three are interconnected
with wires. Could you name it?
Microprocessor (c) Prima Dewi Purnamasari 2011 2
? ??
General Block Diagram of
the PC
Fig. 1.2 shows the general block diagram of the PC
3Microprocessor (c) Prima Dewi Purnamasari 2011
Microprocessor (c) Prima Dewi Purnamasari 2011 4
Memory Microprocessor I/O
BUS
MICROPROCESSOR
Microprocessor (c) Prima Dewi Purnamasari 2011 5
The Microprocessor
• The microprocessor is the controlling element
in a computer system and is sometimes
referred to as the CPU (Central Processing Unit)
• Memory and I/O are controlled through
instructions that are stored in the memory and
executed by the microprocessor
6Microprocessor (c) Prima Dewi Purnamasari 2011
• The microprocessor performs three main
tasks for the computer system:
1. Data transfer between itself and the memory or
I/O systems
2. simple arithmetic & logic operations (Table 1.3)
3. program flow via simple decisions (Table 1.4)
Microprocessor (c) Prima Dewi Purnamasari 2011 7
The Microprocessor
Microprocessor (c) Prima Dewi Purnamasari 2011 8
Microprocessor (c) Prima Dewi Purnamasari 2011 9
The Microprocessor
• Why the microprocessor is powerful?
– Able to execute millions of instructions per
second from a program or software (group of
instructions) stored in the memory system
– able to make simple decision, based upon
numerical facts (Table 1.4)
10Microprocessor (c) Prima Dewi Purnamasari 2011
MEMORY
Microprocessor (c) Prima Dewi Purnamasari 2011 11
Memory
• The memory system is divided into three main
parts:
– TPA (Transient Program Area)
– system area,
– XMS (Extended Memory System) (optional)
12Microprocessor (c) Prima Dewi Purnamasari 2011
Memory System
• The first 1M byte of memory  the
real/conventional memory system. Intel mP is
designed to function this area in real mode of
operation
• 80286  Pentium 4 contain not only real
memory, but also extended memory
• The Pentium Pro-based computer system, for
example, can have up to 1M less than 4G or 1 M
less than 64G of extended memory (Fig. 1.3)
13Microprocessor (c) Prima Dewi Purnamasari 2011
Memory Address
• In Hexadecimal format
• 1MByte Real Memory:
= 220 x 1 Byte
= 1 0000 0000 0000 0000 0000 B x 1 Byte
• Each block of memory holds 1 Byte (8 bits) data
• 1MByte memory address:
– Starting address (#1) : 00000H
– Ending address (#220) : FFFFFH
Microprocessor (c) Prima Dewi Purnamasari 2011 14
Trivia
• How if 2MByte Memory? What is the starting and
ending address?
• 2MB = 221
= 1 1111 1111 1111 1111 1111 (21 x 1)
= 1FFFFF H
Starting address = 000000H
Ending address = 1FFFFFH
Microprocessor (c) Prima Dewi Purnamasari 2011 15
Memory Illustration
FFFFFH …
………… …
………… …
………… …
00002H …
00001H 0111 0001 B
00000H 0AH
Microprocessor (c) Prima Dewi Purnamasari 2011 16
Memory
Address
Each block of memory contains 1 Byte or 8 bits data
Microprocessor (c) Prima Dewi Purnamasari 2011 17
Memory System
Transient Program Area (TPA)
• Holds the OS and other program that control
the computer system
• Stores any currently active or inactive
application programs
• The length of TPA is 640 KB
Microprocessor (c) Prima Dewi Purnamasari 2011 18
Memory map of TPA
The memory map (fig.
1.4, in hexadecimal
addr.) shows how many
areas of the TPA are used
for system programs,
data, and drivers
Microprocessor (c) Prima Dewi Purnamasari 2011
19
TPA
• The interrupt vectors access various features of
the DOS, BIOS (Basic I/O System), and
application
• The BIOS and DOS communications areas
contain transient data used by program to
access I/O devices and internal features of the
computer system
20Microprocessor (c) Prima Dewi Purnamasari 2011
TPA
• The IO.SYS is a program that loads into the TPA from
the disk whenever an MSDOS or PC DOS system is
started
• The MSDOS (PCDOS) program occupies two areas of
memory
• The size of the driver area and # of drivers change
from one computer to another
Microprocessor (c) Prima Dewi Purnamasari 2011 21
TPA
• The COMMAND.COM program controls the operation
of the computer from the keyboard when operated in
DOS mode
• The free TPA area holds application programs as they
are executed
Microprocessor (c) Prima Dewi Purnamasari 2011 22
System Area
The system area
(Fig. 1.5) contains
program on either
a read-only
memory or flash
memory and also
areas of
read/write (RAM)
memory for data
storage
Microprocessor (c) Prima Dewi Purnamasari 2011 23
EMS
The area at
locations C8000H-
DFFFFH is often
open or free. It is
usually used for the
Expanded Memory
System (EMS) 
Fig.1.6
The EMS allows a
64 KB page frame
of memory to be
used by application
programs
Microprocessor (c) Prima Dewi Purnamasari 2011 24
I/O
Microprocessor (c) Prima Dewi Purnamasari 2011 25
Input Output (I/O)
The input/output space
extends from I/O port 0000H
to port FFFFH.
An I/O port is similar to a
memory address but
addresses an I/O device
The I/O area contains two
major sections (Fig 1.7):
• the area below I/O location
0500H is reserved for
system devices
• the remaining area is
available I/O space for
expansion
Microprocessor (c) Prima Dewi Purnamasari 2011 26
BUS
Microprocessor (c) Prima Dewi Purnamasari 2011 27
Buses
• A bus is a set of common connections (wires )
that interconnect components in a computer
system and carry the same type of information
• Function:
1. select an I/O or memory device
2. transfer data between an I/O device or memory
and the microprocessor
3. control the I/O and memory system
28Microprocessor (c) Prima Dewi Purnamasari 2011
BUSSES
Three buses exist for the transfer of information:
1)address,
2)data,
3)control
Microprocessor (c) Prima Dewi Purnamasari 2011 29
Buses (cont’d)
• The control bus contains lines that select the
memory or I/O and cause them to perform a
read or write operation.
• Four control bus connections: MRDC, MWTC,
IORC, IOWC
• The address bus requests a memory location
from the memory or an I/O location from the
I/O devices
30Microprocessor (c) Prima Dewi Purnamasari 2011
Buses (cont’d)
• Example the micro-instructions for
READ:
1. the p reads the contain of memory
location by sending the memory an
address through address bus
2. the p sends the memory read control
signal (MRDC) to cause memory to read
data via control bus
3. the data read from the memory are
passed to the microprocessor through
the data bus
31Microprocessor (c) Prima Dewi Purnamasari 2011
Buses (cont’d)
• The (maximum) memory sizes and organizations
differ between various member of the Intel p
family
• Data bus size defines the amount of data can be
transferred at a time (8, 16, 32, 64 bit)
• Address bus size corresponds to (maximum)
memory size can be attached to the
microprocessor
• Table 1.5 depicts a complete listing of bus and
memory sizes on the Intel family of p
32Microprocessor (c) Prima Dewi Purnamasari 2011
Microprocessor (c) Prima Dewi Purnamasari 2011 33
NUMBER SYSTEMS
Self reading…
Microprocessor (c) Prima Dewi Purnamasari 2011 34

More Related Content

What's hot

The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsmanishpatel_79
 
Basics of peripheral devices and Working
Basics of peripheral devices and WorkingBasics of peripheral devices and Working
Basics of peripheral devices and WorkingDr.YNM
 
Slow peripheral interfaces (i2 c spi uart)
Slow peripheral interfaces (i2 c  spi uart)Slow peripheral interfaces (i2 c  spi uart)
Slow peripheral interfaces (i2 c spi uart)PREMAL GAJJAR
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorRamaPrabha24
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)Ismail Mukiibi
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptxSudeep35
 
Arm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC MotorArm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC MotorUday Wankar
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessorsAnas Abrar
 

What's hot (20)

sleep apnea detection
sleep apnea detectionsleep apnea detection
sleep apnea detection
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systems
 
Basics of peripheral devices and Working
Basics of peripheral devices and WorkingBasics of peripheral devices and Working
Basics of peripheral devices and Working
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Chapter 7 memory & i/o
Chapter 7  memory & i/oChapter 7  memory & i/o
Chapter 7 memory & i/o
 
Slow peripheral interfaces (i2 c spi uart)
Slow peripheral interfaces (i2 c  spi uart)Slow peripheral interfaces (i2 c  spi uart)
Slow peripheral interfaces (i2 c spi uart)
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
Bus
BusBus
Bus
 
Question Bank microcontroller 8051
Question Bank microcontroller 8051Question Bank microcontroller 8051
Question Bank microcontroller 8051
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)
 
BARCODE TECHNOLOGY.pptx
BARCODE TECHNOLOGY.pptxBARCODE TECHNOLOGY.pptx
BARCODE TECHNOLOGY.pptx
 
Syllabus jto to sde
Syllabus jto to sdeSyllabus jto to sde
Syllabus jto to sde
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
8259 updated
8259 updated 8259 updated
8259 updated
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
 
Arm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC MotorArm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC Motor
 
I2C
I2CI2C
I2C
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessors
 
Resume Preparation - Workshop
Resume Preparation - WorkshopResume Preparation - Workshop
Resume Preparation - Workshop
 

Similar to 01 introduction to_microprocessor

microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture Nadeem Hilal Wani
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerSatya P. Joshi
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11gajani121
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxDrVaibhavMeshram
 
Micro controller
Micro controllerMicro controller
Micro controllerDevi Prasad
 
Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introductionKiran Bagale
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notesDr.YNM
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notesDr.YNM
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 
Automotive and Electronics System
Automotive and Electronics SystemAutomotive and Electronics System
Automotive and Electronics SystemGiriraj Mannayee
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computerSurath Khadka
 
Computer Architecture & Program Execution.pptx
Computer Architecture & Program Execution.pptxComputer Architecture & Program Execution.pptx
Computer Architecture & Program Execution.pptxHASNAINNAZIR1
 

Similar to 01 introduction to_microprocessor (20)

computer Unit 3
computer Unit 3computer Unit 3
computer Unit 3
 
Ch 01 os8e
Ch 01  os8eCh 01  os8e
Ch 01 os8e
 
Chapter 1.pdf
Chapter 1.pdfChapter 1.pdf
Chapter 1.pdf
 
microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Motorola 68hc11
Motorola 68hc11Motorola 68hc11
Motorola 68hc11
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introduction
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
M.sc I-sem-8086 notes
M.sc  I-sem-8086 notesM.sc  I-sem-8086 notes
M.sc I-sem-8086 notes
 
Chapter1
Chapter1Chapter1
Chapter1
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Automotive and Electronics System
Automotive and Electronics SystemAutomotive and Electronics System
Automotive and Electronics System
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
Microcontroller part 1
Microcontroller part 1Microcontroller part 1
Microcontroller part 1
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
 
Computer Architecture & Program Execution.pptx
Computer Architecture & Program Execution.pptxComputer Architecture & Program Execution.pptx
Computer Architecture & Program Execution.pptx
 

Recently uploaded

power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 

01 introduction to_microprocessor

  • 1. The Microprocessor-based PC System Prima Dewi Purnamasari Microprocessor Electrical Engineering Department University of Indonesia
  • 2. What is Computer? • Basically, there are 3 components to build a computer, and those three are interconnected with wires. Could you name it? Microprocessor (c) Prima Dewi Purnamasari 2011 2 ? ??
  • 3. General Block Diagram of the PC Fig. 1.2 shows the general block diagram of the PC 3Microprocessor (c) Prima Dewi Purnamasari 2011
  • 4. Microprocessor (c) Prima Dewi Purnamasari 2011 4 Memory Microprocessor I/O BUS
  • 5. MICROPROCESSOR Microprocessor (c) Prima Dewi Purnamasari 2011 5
  • 6. The Microprocessor • The microprocessor is the controlling element in a computer system and is sometimes referred to as the CPU (Central Processing Unit) • Memory and I/O are controlled through instructions that are stored in the memory and executed by the microprocessor 6Microprocessor (c) Prima Dewi Purnamasari 2011
  • 7. • The microprocessor performs three main tasks for the computer system: 1. Data transfer between itself and the memory or I/O systems 2. simple arithmetic & logic operations (Table 1.3) 3. program flow via simple decisions (Table 1.4) Microprocessor (c) Prima Dewi Purnamasari 2011 7 The Microprocessor
  • 8. Microprocessor (c) Prima Dewi Purnamasari 2011 8
  • 9. Microprocessor (c) Prima Dewi Purnamasari 2011 9
  • 10. The Microprocessor • Why the microprocessor is powerful? – Able to execute millions of instructions per second from a program or software (group of instructions) stored in the memory system – able to make simple decision, based upon numerical facts (Table 1.4) 10Microprocessor (c) Prima Dewi Purnamasari 2011
  • 11. MEMORY Microprocessor (c) Prima Dewi Purnamasari 2011 11
  • 12. Memory • The memory system is divided into three main parts: – TPA (Transient Program Area) – system area, – XMS (Extended Memory System) (optional) 12Microprocessor (c) Prima Dewi Purnamasari 2011
  • 13. Memory System • The first 1M byte of memory  the real/conventional memory system. Intel mP is designed to function this area in real mode of operation • 80286  Pentium 4 contain not only real memory, but also extended memory • The Pentium Pro-based computer system, for example, can have up to 1M less than 4G or 1 M less than 64G of extended memory (Fig. 1.3) 13Microprocessor (c) Prima Dewi Purnamasari 2011
  • 14. Memory Address • In Hexadecimal format • 1MByte Real Memory: = 220 x 1 Byte = 1 0000 0000 0000 0000 0000 B x 1 Byte • Each block of memory holds 1 Byte (8 bits) data • 1MByte memory address: – Starting address (#1) : 00000H – Ending address (#220) : FFFFFH Microprocessor (c) Prima Dewi Purnamasari 2011 14
  • 15. Trivia • How if 2MByte Memory? What is the starting and ending address? • 2MB = 221 = 1 1111 1111 1111 1111 1111 (21 x 1) = 1FFFFF H Starting address = 000000H Ending address = 1FFFFFH Microprocessor (c) Prima Dewi Purnamasari 2011 15
  • 16. Memory Illustration FFFFFH … ………… … ………… … ………… … 00002H … 00001H 0111 0001 B 00000H 0AH Microprocessor (c) Prima Dewi Purnamasari 2011 16 Memory Address Each block of memory contains 1 Byte or 8 bits data
  • 17. Microprocessor (c) Prima Dewi Purnamasari 2011 17 Memory System
  • 18. Transient Program Area (TPA) • Holds the OS and other program that control the computer system • Stores any currently active or inactive application programs • The length of TPA is 640 KB Microprocessor (c) Prima Dewi Purnamasari 2011 18
  • 19. Memory map of TPA The memory map (fig. 1.4, in hexadecimal addr.) shows how many areas of the TPA are used for system programs, data, and drivers Microprocessor (c) Prima Dewi Purnamasari 2011 19
  • 20. TPA • The interrupt vectors access various features of the DOS, BIOS (Basic I/O System), and application • The BIOS and DOS communications areas contain transient data used by program to access I/O devices and internal features of the computer system 20Microprocessor (c) Prima Dewi Purnamasari 2011
  • 21. TPA • The IO.SYS is a program that loads into the TPA from the disk whenever an MSDOS or PC DOS system is started • The MSDOS (PCDOS) program occupies two areas of memory • The size of the driver area and # of drivers change from one computer to another Microprocessor (c) Prima Dewi Purnamasari 2011 21
  • 22. TPA • The COMMAND.COM program controls the operation of the computer from the keyboard when operated in DOS mode • The free TPA area holds application programs as they are executed Microprocessor (c) Prima Dewi Purnamasari 2011 22
  • 23. System Area The system area (Fig. 1.5) contains program on either a read-only memory or flash memory and also areas of read/write (RAM) memory for data storage Microprocessor (c) Prima Dewi Purnamasari 2011 23
  • 24. EMS The area at locations C8000H- DFFFFH is often open or free. It is usually used for the Expanded Memory System (EMS)  Fig.1.6 The EMS allows a 64 KB page frame of memory to be used by application programs Microprocessor (c) Prima Dewi Purnamasari 2011 24
  • 25. I/O Microprocessor (c) Prima Dewi Purnamasari 2011 25
  • 26. Input Output (I/O) The input/output space extends from I/O port 0000H to port FFFFH. An I/O port is similar to a memory address but addresses an I/O device The I/O area contains two major sections (Fig 1.7): • the area below I/O location 0500H is reserved for system devices • the remaining area is available I/O space for expansion Microprocessor (c) Prima Dewi Purnamasari 2011 26
  • 27. BUS Microprocessor (c) Prima Dewi Purnamasari 2011 27
  • 28. Buses • A bus is a set of common connections (wires ) that interconnect components in a computer system and carry the same type of information • Function: 1. select an I/O or memory device 2. transfer data between an I/O device or memory and the microprocessor 3. control the I/O and memory system 28Microprocessor (c) Prima Dewi Purnamasari 2011
  • 29. BUSSES Three buses exist for the transfer of information: 1)address, 2)data, 3)control Microprocessor (c) Prima Dewi Purnamasari 2011 29
  • 30. Buses (cont’d) • The control bus contains lines that select the memory or I/O and cause them to perform a read or write operation. • Four control bus connections: MRDC, MWTC, IORC, IOWC • The address bus requests a memory location from the memory or an I/O location from the I/O devices 30Microprocessor (c) Prima Dewi Purnamasari 2011
  • 31. Buses (cont’d) • Example the micro-instructions for READ: 1. the p reads the contain of memory location by sending the memory an address through address bus 2. the p sends the memory read control signal (MRDC) to cause memory to read data via control bus 3. the data read from the memory are passed to the microprocessor through the data bus 31Microprocessor (c) Prima Dewi Purnamasari 2011
  • 32. Buses (cont’d) • The (maximum) memory sizes and organizations differ between various member of the Intel p family • Data bus size defines the amount of data can be transferred at a time (8, 16, 32, 64 bit) • Address bus size corresponds to (maximum) memory size can be attached to the microprocessor • Table 1.5 depicts a complete listing of bus and memory sizes on the Intel family of p 32Microprocessor (c) Prima Dewi Purnamasari 2011
  • 33. Microprocessor (c) Prima Dewi Purnamasari 2011 33
  • 34. NUMBER SYSTEMS Self reading… Microprocessor (c) Prima Dewi Purnamasari 2011 34