SlideShare uma empresa Scribd logo
1 de 29
MICROPROCESSOR &
INTERFACES
 1. Understand the architecture of microprocessor
system
 2. Understand the assembly language
 3. Can program the microprocessor (8085) using
assembly language
 4. Can interface the microprocessor to external
devices such as key board, LEDs, timers, counters
etc.
 5. Can apply the microprocessor in embedded
system
 1)Introduction-chapter 1
 2) Internal Microprocessor Architecture –
 chapter 2 (Intro to 8085ALP),
 chapter 3(Architecture),
 chapter 4,(Interface Memory)
 chapter 5 (Interface I/O)
 3) Microprocessor Programming-
 chapter 6, chapter 7,(Instructions)
 chapter 8(Counter and Delays),
 chapter 9(Stack and Subroutines)
 4)Interfacing I/Os –
 chapter 12(Interrupts),
 chapter 14(Interface 8155 I/O & Timer, 8279
Keyboard/Display Interface), Programmable Interface
Devices
 chapter 15(General Purpose Programmable
Peripherals)(Programmable peripheral interface,
Interval timer, PIC, DMA)
 5) Advanced Microprocessors
Text Book: Microprocessor Architecture,
programming And Application With The 8085.
Ramesh S. Gaonkar
 Intel 8085 is an 8 bit microprocessor
introduced by Intel in 1977.
 The 8085 follows the von Neumann
architecture with a 16 bit address bus and 8
bit data bus.
 It can access 216
(65536) individual 8 bit
memory locations (64KB)
 Has built in register:
 A (accumulator), B,C,D,E,H and L (8 bit)
 Special purpose register: 16 bit program counter,
stack pointer, and 8 bit flag register
 Share memory for program and data with
one data bus and one address bus between
processor and memory.
 Instruction and data have to be fetched in
sequential order, limiting the operation
bandwidth.
 Its design is simpler than that of architecture.
 It is mostly used to interface to external
memory.
 Uses physically separate memories for
instruction and data, requiring dedicated
buses for each of them.
 Instruction and operands can be fetched
simultaneously.
 Different program and data bus widths are
possible, allowing program and data memory
to be better optimized to the architectural
requirements.
 Has single 5volt power supply
 Clock oscillator and system controller were
integrated on the chip.
 The CPU included serial I/O port.
 Multiple version of 8085 microprocessor.
 Original version without suffix A is from Intel.
 Then replaced by 8085A, HMOS version and CMOS
version.
 Second source manufacturer: AMD, mitsubishi,
NEC, OKI, Siemens, Toshiba
μp is a programmable integrated device that has
computing and decision making capability, similar to
CPU of a computer.
Can be:
 1) embedded in a larger system
 2) a stand alone unit controlling processor
μp communicates and operates in the binary number
0 & 1, called bits.
Each μp has a fixed set of instructions in the form of
binary patterns called machine language.
The binary instructions are given abbreviated names,
called mnemonics, form the assembly language.
A μp is a multipurpose, programmable,
clock-driven, register based electronic
device that reads binary instructions
from a storage device called memory,
accepts binary data as input and process
data according to those instructions and
provides results as output.
 A typical programmable machine can be
represented with 4 components:
 Microprocessor
 Memory
 Input
 Output
 These 4 components will form a system.
 The physical components --> hardware
 A set of instructions program
 A group of program is called software
The μp applications are clssified
primarily in two categories:
 Reprogrammable system (PC)
 Embedded system (washing machine)
In embedded system, μp is a part of a
final product and is not available for
reprogramming to the end user.
 μp operates in binary digits, 0 & 1, known as
bits.
 Represented in terms of electrical voltage.
 A group of bits called a word.
 μp with an 8 bit word is known as an 8 bit μp.
μp is a primary components of a computer.
The computer has 4 components:
 Memory
 Input
 Output
 CPU
CPU contains various registers to store data , the
ALU to perform arithmetic and logical operations,
instruction decoders, counter and control lines.
 Is the area of microprocessor where various
computing functions are performed on data
such as addition, subtraction, logic
operations (AND, Or and exclusive OR).
 This area of μp identified by letters such as B,
C, D, E,H and L.
 Used to store data temporarily during the
execution of a program and are accessible to
the user through instructions.
 Provides the necessary timing and control
signals to all the operations in the
microcomputer.
 Control the flow of data between μp and
memory and peripheral.
 Two types of memory:
 ROM (read only memory)
 RAM ( random access memory)
 Used to communicate with the outside world.
 The I/O device is knows as peripherals.
 Input devices:
 Keyboard
 Switches
 ADC
 Output devices:
 LED
 DAC
 LCD
 Is a communication path between
microprocessor and peripherals.
 A group of wires to carry bits.
 Three types of bus:
 Address bus
 Data bus
 Control bus
 Programming languages that are intended to
be machine –independent are called high
level language.
 Examples: BASIC, PASCAL, C, C++ and Java.
 Instructions written in these langugaes are
called statements rather than mnemonics.
 Compiler is used to convert the statements to
binary languages.
 This translation in the machine language is called
object code.
 Compiler requires large memory space because the
statements requires several machine codes to
translate it to binary.
 There is one to one correspondence between the
assembly language mnemonics and the machine
code. Thus assembly language are compact and use
less memory space.
 The advantage of high level language is in
troubleshooting (debugging) programs. Much easier
to find errors in a program, in high level language.
 Application: traffic control-assembly language
 Application: video games, billing where memory is
not a limitation- high level language

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Introduction to 8085svv
Introduction to 8085svvIntroduction to 8085svv
Introduction to 8085svv
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architecture
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
The microprocessor and it's architecture
The microprocessor and it's architectureThe microprocessor and it's architecture
The microprocessor and it's architecture
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer SystemsChapter 2-8085 Microprocessor Architecture and Microcomputer Systems
Chapter 2-8085 Microprocessor Architecture and Microcomputer Systems
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 

Destaque (6)

Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor systems 8085(2)
 
M6800
M6800M6800
M6800
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Microprocessor systems (4)
Microprocessor systems (4)Microprocessor systems (4)
Microprocessor systems (4)
 
32 bit and 64 bit Register manipulation
32 bit and 64 bit Register manipulation32 bit and 64 bit Register manipulation
32 bit and 64 bit Register manipulation
 
Microprocessor Systems
Microprocessor Systems Microprocessor Systems
Microprocessor Systems
 

Semelhante a Lecture 1

20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
Ravali Sunki
 
A microprocessor is the main component of a microcomputer system and is also ...
A microprocessor is the main component of a microcomputer system and is also ...A microprocessor is the main component of a microcomputer system and is also ...
A microprocessor is the main component of a microcomputer system and is also ...
jeronimored
 
Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applications
Merin Jesuraj
 
Download
DownloadDownload
Download
jaihooo
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
Vandna Sambyal
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
Ashim Saha
 

Semelhante a Lecture 1 (20)

EEE226a.ppt
EEE226a.pptEEE226a.ppt
EEE226a.ppt
 
MPMC all units .pdf
MPMC all units .pdfMPMC all units .pdf
MPMC all units .pdf
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes
 
Microprocessor note
Microprocessor noteMicroprocessor note
Microprocessor note
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
A microprocessor is the main component of a microcomputer system and is also ...
A microprocessor is the main component of a microcomputer system and is also ...A microprocessor is the main component of a microcomputer system and is also ...
A microprocessor is the main component of a microcomputer system and is also ...
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classifications
 
Assembly chapter One.pptx
Assembly chapter One.pptxAssembly chapter One.pptx
Assembly chapter One.pptx
 
Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applications
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
Download
DownloadDownload
Download
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
Pre requisite of COA- for Micro controller Embedded systems
Pre requisite of COA- for Micro controller Embedded systemsPre requisite of COA- for Micro controller Embedded systems
Pre requisite of COA- for Micro controller Embedded systems
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
 
Chapter1a
Chapter1aChapter1a
Chapter1a
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 

Mais de deval patel (13)

8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
8085 intro
8085 intro8085 intro
8085 intro
 
8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
8279 PKDI
8279 PKDI8279 PKDI
8279 PKDI
 
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecture
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Interrupts
InterruptsInterrupts
Interrupts
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 

Último

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Último (20)

Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 

Lecture 1

  • 2.  1. Understand the architecture of microprocessor system  2. Understand the assembly language  3. Can program the microprocessor (8085) using assembly language  4. Can interface the microprocessor to external devices such as key board, LEDs, timers, counters etc.  5. Can apply the microprocessor in embedded system
  • 3.  1)Introduction-chapter 1  2) Internal Microprocessor Architecture –  chapter 2 (Intro to 8085ALP),  chapter 3(Architecture),  chapter 4,(Interface Memory)  chapter 5 (Interface I/O)  3) Microprocessor Programming-  chapter 6, chapter 7,(Instructions)  chapter 8(Counter and Delays),  chapter 9(Stack and Subroutines)
  • 4.  4)Interfacing I/Os –  chapter 12(Interrupts),  chapter 14(Interface 8155 I/O & Timer, 8279 Keyboard/Display Interface), Programmable Interface Devices  chapter 15(General Purpose Programmable Peripherals)(Programmable peripheral interface, Interval timer, PIC, DMA)  5) Advanced Microprocessors Text Book: Microprocessor Architecture, programming And Application With The 8085. Ramesh S. Gaonkar
  • 5.  Intel 8085 is an 8 bit microprocessor introduced by Intel in 1977.  The 8085 follows the von Neumann architecture with a 16 bit address bus and 8 bit data bus.  It can access 216 (65536) individual 8 bit memory locations (64KB)  Has built in register:  A (accumulator), B,C,D,E,H and L (8 bit)  Special purpose register: 16 bit program counter, stack pointer, and 8 bit flag register
  • 6.  Share memory for program and data with one data bus and one address bus between processor and memory.  Instruction and data have to be fetched in sequential order, limiting the operation bandwidth.  Its design is simpler than that of architecture.  It is mostly used to interface to external memory.
  • 7.  Uses physically separate memories for instruction and data, requiring dedicated buses for each of them.  Instruction and operands can be fetched simultaneously.  Different program and data bus widths are possible, allowing program and data memory to be better optimized to the architectural requirements.
  • 8.
  • 9.
  • 10.
  • 11.  Has single 5volt power supply  Clock oscillator and system controller were integrated on the chip.  The CPU included serial I/O port.  Multiple version of 8085 microprocessor.
  • 12.  Original version without suffix A is from Intel.  Then replaced by 8085A, HMOS version and CMOS version.  Second source manufacturer: AMD, mitsubishi, NEC, OKI, Siemens, Toshiba
  • 13.
  • 14. μp is a programmable integrated device that has computing and decision making capability, similar to CPU of a computer. Can be:  1) embedded in a larger system  2) a stand alone unit controlling processor μp communicates and operates in the binary number 0 & 1, called bits. Each μp has a fixed set of instructions in the form of binary patterns called machine language. The binary instructions are given abbreviated names, called mnemonics, form the assembly language.
  • 15. A μp is a multipurpose, programmable, clock-driven, register based electronic device that reads binary instructions from a storage device called memory, accepts binary data as input and process data according to those instructions and provides results as output.
  • 16.  A typical programmable machine can be represented with 4 components:  Microprocessor  Memory  Input  Output  These 4 components will form a system.  The physical components --> hardware  A set of instructions program  A group of program is called software
  • 17. The μp applications are clssified primarily in two categories:  Reprogrammable system (PC)  Embedded system (washing machine) In embedded system, μp is a part of a final product and is not available for reprogramming to the end user.
  • 18.  μp operates in binary digits, 0 & 1, known as bits.  Represented in terms of electrical voltage.  A group of bits called a word.  μp with an 8 bit word is known as an 8 bit μp.
  • 19. μp is a primary components of a computer. The computer has 4 components:  Memory  Input  Output  CPU CPU contains various registers to store data , the ALU to perform arithmetic and logical operations, instruction decoders, counter and control lines.
  • 20.
  • 21.  Is the area of microprocessor where various computing functions are performed on data such as addition, subtraction, logic operations (AND, Or and exclusive OR).
  • 22.  This area of μp identified by letters such as B, C, D, E,H and L.  Used to store data temporarily during the execution of a program and are accessible to the user through instructions.
  • 23.  Provides the necessary timing and control signals to all the operations in the microcomputer.  Control the flow of data between μp and memory and peripheral.
  • 24.  Two types of memory:  ROM (read only memory)  RAM ( random access memory)
  • 25.  Used to communicate with the outside world.  The I/O device is knows as peripherals.  Input devices:  Keyboard  Switches  ADC  Output devices:  LED  DAC  LCD
  • 26.  Is a communication path between microprocessor and peripherals.  A group of wires to carry bits.  Three types of bus:  Address bus  Data bus  Control bus
  • 27.
  • 28.  Programming languages that are intended to be machine –independent are called high level language.  Examples: BASIC, PASCAL, C, C++ and Java.  Instructions written in these langugaes are called statements rather than mnemonics.  Compiler is used to convert the statements to binary languages.
  • 29.  This translation in the machine language is called object code.  Compiler requires large memory space because the statements requires several machine codes to translate it to binary.  There is one to one correspondence between the assembly language mnemonics and the machine code. Thus assembly language are compact and use less memory space.  The advantage of high level language is in troubleshooting (debugging) programs. Much easier to find errors in a program, in high level language.  Application: traffic control-assembly language  Application: video games, billing where memory is not a limitation- high level language