SlideShare a Scribd company logo
2
Most read
10
Most read
11
Most read
Agenda:
Friday, August 22, 2014 Internal Architecture of 8086 1
Microprocessor Vs Microcontroller
 Block diagram of 8086
Internal Architecture of 8086
Memory Organization
Friday, August 22, 2014 Internal Architecture of 8086 2
Microprocessor Microcontroller
CPU is stand alone, RAM,ROM, I/O & timer
are separate.
CPU, RAM,ROM, I/O & timer all are on
single chip.
Designer can decide amount of RAM,ROM,
& I/O ports.
Fixed amount of on-chip RAM,ROM, & I/O
ports.
High processing power Low processing power
High power consumption Low power consumption
Typically 32/64 bit 8/16 bit
General purpose Single purpose(control oriented)
Less reliable Highly reliable
Eg.- 8086,8085 8051
Fig 3 : Block diagram of Intel 8086
Friday, August 22, 2014 3Internal Architecture of 8086
Internal Architecture of 8086
Friday, August 22, 2014 4Internal Architecture of 8086
Independent
& share
work of CPU
(viz. speed up
processing &
reduced
proc’g time)
Pipeline
Friday, August 22, 2014
Prerequisite Of Microprocessor Architecture
practical 5
Friday, August 22, 2014 6
Prerequisite Of Microprocessor Architecture
practical
Friday, August 22, 2014 Internal Architecture of 8086 7
Bus Interface Unit(BIU) Execution Unit (EU)
Transmit out addresses Gives information to BIU, from where to fetch
the instruction or data
Instructions are fetched from memory. Decodes the fetched instructions.
R/W data from memory & ports. Executes decoded instructions.
Takes care of all addresses & data
transform on the buses.
Takes care of performing operations on the data.
Called External world interface of the
processor.
Called execution heart of the processor.
Friday, August 22, 2014 Internal Architecture of 8086 8
8086 Memory organization
ES
CS
SS
DS
IP
AH
BH
CH
DH
AL
BL
CL
DL
SP
BP
SI
DI
FLAGS
AX
BX
CX
DX
Extra Segment
Code Segment
Stack Segment
Data Segment
Instruction Pointer
Accumulator
Base Register
Count Register
Data Register
Stack Pointer
Base Pointer
Source Index Register
Destination Index Register
BIU registers
(20 bit adder)
EU registers
16 bit arithmetic
16 General
Purpose Registers
16 Byte 8 0Byte
Friday, August 22, 2014 Internal Architecture of 8086 9
8086 Memory organization
CODE
DATA
STACK
EXTRA
0100H
0B200H
0CF00H
0FF00H
DS:
SS:
ES:
CS
001000H
0B2000H
0CF000H
0FF000H
10FFFH
0C1FFFH
0DEFFFH
0FFFFFH
000000HSegment
Registers
Memory Segments
Segments are < or = 64K and can overlap.
Code segment is < 64K since 0FFFFFH is the highest address.
Friday, August 22, 2014 Internal Architecture of 8086 10
Memory Segmentation
additional data segment
used by some instructions
to hold destination data.
Holds programs and
Procedures(CODE) used
By the microprocessor.
defines the area of
memory used for the stack.
data used by a program
Friday, August 22, 2014 Internal Architecture of 8086 11
 Allow the memory capacity to be 1Mb even though the
addresses associated with the individual instructions
are only 16 bits wide.
 Facilitate the use of separate memory areas for the
program, its data and the stack.
 Multitasking becomes easy.
Advantages Of Memory Segmentation
 Allow the memory capacity to be 1Mb even though the
addresses associated with the individual instructions
are only 16 bits wide.
 Facilitate the use of separate memory areas for the
program, its data and the stack.
 Multitasking becomes easy.
Advantages of memory
segmentation
Friday, August 22, 2014 Internal Architecture of 8086 13
The EU also contains the Flag Register which is a collection of condition
bits and control bits. The condition bits are set or cleared by the execution
of an instruction. The control bits are set by instructions to control some
operation of the CPU.
Bit 0 - CF Carry Flag - Set by carry out of msb
Bit 2 - PF Parity Flag - Set if result has even parity
Bit 4 - AF Auxiliary Flag - for BCD arithmetic
Bit 6 - ZF Zero Flag - Set if result is zero
Bit 7 - SF Sign Flag = msb of result
Bit 8 - TF Single Step Trap Flag
Bit 9 - IF Interrupt Enable Flag
Bit 10 - DF String Instruction Direction Flag
Bit 11 - OF Overflow Flag
Bits 1, 3, 5, 12-15 are undefined.
Friday, August 22, 2014 Internal Architecture of 8086 14
Friday, August 22, 2014 Internal Architecture of 8086 15

More Related Content

What's hot (20)

PDF
Difference among 8085,8086,80186,80286,80386 Microprocessor.pdf
Mahbubay Rabbani Mim
 
PDF
8155 PPI
ShivamSood22
 
PPT
8254 timer - Microprocessor and interfacing
Amitabh Shukla
 
PDF
DAC Interfacing with 8051.pdf
Srikrishna Thota
 
PPTX
program status word
sheetalverma38
 
PPT
Architecture of 8086 Microprocessor
Mustapha Fatty
 
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
PPT
Interrupts for PIC18
raosandy11
 
PPT
Programming with 8085
Shehrevar Davierwala
 
PPTX
Digital signal processor architecture
komal mistry
 
PPT
Adc interfacing
Monica Gunjal
 
PDF
8051 Timers / Counters
Patricio Lima
 
PDF
Timer And Counter in 8051 Microcontroller
Jay Makwana
 
PPT
Interfacing LCD with 8051 Microcontroller
Pantech ProLabs India Pvt Ltd
 
PPT
Memory organization of 8051
Muthu Manickam
 
PPTX
PPT on 8085 Microprocessor
DebrajJana4
 
DOCX
ARM7-ARCHITECTURE
Dr.YNM
 
PPTX
8051 memory
Mayank Garg
 
PPTX
Ultrasonic sensor
waad Jamal Almuqbali
 
Difference among 8085,8086,80186,80286,80386 Microprocessor.pdf
Mahbubay Rabbani Mim
 
8155 PPI
ShivamSood22
 
8254 timer - Microprocessor and interfacing
Amitabh Shukla
 
DAC Interfacing with 8051.pdf
Srikrishna Thota
 
program status word
sheetalverma38
 
Architecture of 8086 Microprocessor
Mustapha Fatty
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Interrupts for PIC18
raosandy11
 
Programming with 8085
Shehrevar Davierwala
 
Digital signal processor architecture
komal mistry
 
Adc interfacing
Monica Gunjal
 
8051 Timers / Counters
Patricio Lima
 
Timer And Counter in 8051 Microcontroller
Jay Makwana
 
Interfacing LCD with 8051 Microcontroller
Pantech ProLabs India Pvt Ltd
 
Memory organization of 8051
Muthu Manickam
 
PPT on 8085 Microprocessor
DebrajJana4
 
ARM7-ARCHITECTURE
Dr.YNM
 
8051 memory
Mayank Garg
 
Ultrasonic sensor
waad Jamal Almuqbali
 

Similar to Microprocessor vs. microcontroller (20)

PPTX
Internal Architecture of 8086| msbte sem 4 microprocessor
AKSHAYBHABAD5
 
PPTX
INTEL 8086 MICROPROCESSOR
Sagar Kuntumal
 
PDF
Microprocessor Unit-1( Introduction to 80386 Microprocessors)Second Year ppt
Shikha712235
 
PPTX
Microprocessor Unit -1 SE computer-II.pptx
akshathsingh2003
 
PDF
8086 Architecture ppt.pdf
UmamaheswariV4
 
PPTX
المعالج 8086..pptxgvffvhjkhgfdddghbvfddsss
ssuser4ad3ca
 
PPT
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
Siva Raman
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
destaw belay
 
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
jemimajerome
 
PPTX
The 8086 microprocessor
Adarsh College, Hingoli
 
PPTX
Pai unit 1_l1-l2-l3-l4_upload
Yogesh Deshpande
 
DOC
3 organization of intel 8086
ELIMENG
 
PPTX
CP Lecture-2 The Microprocessor and its Architecture.pptx
syedamahnoor582
 
DOC
8086 handout for chapter one and two
haymanotyehuala
 
DOC
8051 microcontroller
haymanotyehuala
 
PDF
introduction to Micro Processor and Microcontroller
Bharathi Venkatachalam
 
Internal Architecture of 8086| msbte sem 4 microprocessor
AKSHAYBHABAD5
 
INTEL 8086 MICROPROCESSOR
Sagar Kuntumal
 
Microprocessor Unit-1( Introduction to 80386 Microprocessors)Second Year ppt
Shikha712235
 
Microprocessor Unit -1 SE computer-II.pptx
akshathsingh2003
 
8086 Architecture ppt.pdf
UmamaheswariV4
 
المعالج 8086..pptxgvffvhjkhgfdddghbvfddsss
ssuser4ad3ca
 
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086microprocessor 130821100244-phpapp02
raone1989
 
8086 microprocessor-architecture-120207111857-phpapp01
Siva Raman
 
8086 microprocessor-architecture-120207111857-phpapp01
destaw belay
 
8086 microprocessor-architecture-120207111857-phpapp01
jemimajerome
 
The 8086 microprocessor
Adarsh College, Hingoli
 
Pai unit 1_l1-l2-l3-l4_upload
Yogesh Deshpande
 
3 organization of intel 8086
ELIMENG
 
CP Lecture-2 The Microprocessor and its Architecture.pptx
syedamahnoor582
 
8086 handout for chapter one and two
haymanotyehuala
 
8051 microcontroller
haymanotyehuala
 
introduction to Micro Processor and Microcontroller
Bharathi Venkatachalam
 
Ad

More from aviban (13)

PPTX
Signal descriptors of 8086
aviban
 
PPTX
Segments
aviban
 
PPTX
Salient featurs of 80386
aviban
 
PPTX
Register of 80386
aviban
 
PPTX
Number system
aviban
 
PPTX
Modes of 80386
aviban
 
PPTX
Memory map
aviban
 
PPTX
Ma
aviban
 
PPTX
Instruction set of 8086
aviban
 
PPTX
Flag registers, addressing modes, instruction set
aviban
 
PPTX
Additional good diagrams
aviban
 
PPT
Data structures & problem solving unit 1 ppt
aviban
 
PPTX
Applications of Discrete Structures
aviban
 
Signal descriptors of 8086
aviban
 
Segments
aviban
 
Salient featurs of 80386
aviban
 
Register of 80386
aviban
 
Number system
aviban
 
Modes of 80386
aviban
 
Memory map
aviban
 
Ma
aviban
 
Instruction set of 8086
aviban
 
Flag registers, addressing modes, instruction set
aviban
 
Additional good diagrams
aviban
 
Data structures & problem solving unit 1 ppt
aviban
 
Applications of Discrete Structures
aviban
 
Ad

Microprocessor vs. microcontroller

  • 1. Agenda: Friday, August 22, 2014 Internal Architecture of 8086 1 Microprocessor Vs Microcontroller  Block diagram of 8086 Internal Architecture of 8086 Memory Organization
  • 2. Friday, August 22, 2014 Internal Architecture of 8086 2 Microprocessor Microcontroller CPU is stand alone, RAM,ROM, I/O & timer are separate. CPU, RAM,ROM, I/O & timer all are on single chip. Designer can decide amount of RAM,ROM, & I/O ports. Fixed amount of on-chip RAM,ROM, & I/O ports. High processing power Low processing power High power consumption Low power consumption Typically 32/64 bit 8/16 bit General purpose Single purpose(control oriented) Less reliable Highly reliable Eg.- 8086,8085 8051
  • 3. Fig 3 : Block diagram of Intel 8086 Friday, August 22, 2014 3Internal Architecture of 8086
  • 4. Internal Architecture of 8086 Friday, August 22, 2014 4Internal Architecture of 8086 Independent & share work of CPU (viz. speed up processing & reduced proc’g time) Pipeline
  • 5. Friday, August 22, 2014 Prerequisite Of Microprocessor Architecture practical 5
  • 6. Friday, August 22, 2014 6 Prerequisite Of Microprocessor Architecture practical
  • 7. Friday, August 22, 2014 Internal Architecture of 8086 7 Bus Interface Unit(BIU) Execution Unit (EU) Transmit out addresses Gives information to BIU, from where to fetch the instruction or data Instructions are fetched from memory. Decodes the fetched instructions. R/W data from memory & ports. Executes decoded instructions. Takes care of all addresses & data transform on the buses. Takes care of performing operations on the data. Called External world interface of the processor. Called execution heart of the processor.
  • 8. Friday, August 22, 2014 Internal Architecture of 8086 8 8086 Memory organization ES CS SS DS IP AH BH CH DH AL BL CL DL SP BP SI DI FLAGS AX BX CX DX Extra Segment Code Segment Stack Segment Data Segment Instruction Pointer Accumulator Base Register Count Register Data Register Stack Pointer Base Pointer Source Index Register Destination Index Register BIU registers (20 bit adder) EU registers 16 bit arithmetic 16 General Purpose Registers 16 Byte 8 0Byte
  • 9. Friday, August 22, 2014 Internal Architecture of 8086 9 8086 Memory organization CODE DATA STACK EXTRA 0100H 0B200H 0CF00H 0FF00H DS: SS: ES: CS 001000H 0B2000H 0CF000H 0FF000H 10FFFH 0C1FFFH 0DEFFFH 0FFFFFH 000000HSegment Registers Memory Segments Segments are < or = 64K and can overlap. Code segment is < 64K since 0FFFFFH is the highest address.
  • 10. Friday, August 22, 2014 Internal Architecture of 8086 10 Memory Segmentation additional data segment used by some instructions to hold destination data. Holds programs and Procedures(CODE) used By the microprocessor. defines the area of memory used for the stack. data used by a program
  • 11. Friday, August 22, 2014 Internal Architecture of 8086 11  Allow the memory capacity to be 1Mb even though the addresses associated with the individual instructions are only 16 bits wide.  Facilitate the use of separate memory areas for the program, its data and the stack.  Multitasking becomes easy. Advantages Of Memory Segmentation
  • 12.  Allow the memory capacity to be 1Mb even though the addresses associated with the individual instructions are only 16 bits wide.  Facilitate the use of separate memory areas for the program, its data and the stack.  Multitasking becomes easy. Advantages of memory segmentation
  • 13. Friday, August 22, 2014 Internal Architecture of 8086 13 The EU also contains the Flag Register which is a collection of condition bits and control bits. The condition bits are set or cleared by the execution of an instruction. The control bits are set by instructions to control some operation of the CPU. Bit 0 - CF Carry Flag - Set by carry out of msb Bit 2 - PF Parity Flag - Set if result has even parity Bit 4 - AF Auxiliary Flag - for BCD arithmetic Bit 6 - ZF Zero Flag - Set if result is zero Bit 7 - SF Sign Flag = msb of result Bit 8 - TF Single Step Trap Flag Bit 9 - IF Interrupt Enable Flag Bit 10 - DF String Instruction Direction Flag Bit 11 - OF Overflow Flag Bits 1, 3, 5, 12-15 are undefined.
  • 14. Friday, August 22, 2014 Internal Architecture of 8086 14
  • 15. Friday, August 22, 2014 Internal Architecture of 8086 15