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

PPTX
Introduction to Microcontroller
PPTX
Microprocessor and microcontrollers
PPTX
Serial Communication in 8051
PPTX
Architecture of 8051
PPTX
Pic microcontroller architecture
PPT
Architecture of 8086 Microprocessor
PPT
8051 instruction set
PPT
Memory organization of 8051
Introduction to Microcontroller
Microprocessor and microcontrollers
Serial Communication in 8051
Architecture of 8051
Pic microcontroller architecture
Architecture of 8086 Microprocessor
8051 instruction set
Memory organization of 8051

What's hot (20)

PPTX
microcontroller vs microprocessor
PDF
Question paper with solution the 8051 microcontroller based embedded systems...
PDF
Stepper motor-interfacing
PPTX
Microprocessor 8086
PPTX
Introduction to embedded systems
PDF
Introduction to Microcontroller
PPSX
8051 microcontroller and embedded system
PPTX
Embedded system
PPTX
Instruction Set of 8051 Microcontroller
DOCX
8085 interfacing with memory chips
PPTX
Stack in 8085 microprocessor
PPT
8086 micro processor
PDF
Controllability and observability
PPTX
8051 memory
PDF
PPT
Microprocessor & microcontroller
PDF
Intel 8051 - pin description
PPTX
Chapter 8 - Robot Control System
PPTX
Design challenges in embedded systems
PPTX
Data transfer techniques 8085
microcontroller vs microprocessor
Question paper with solution the 8051 microcontroller based embedded systems...
Stepper motor-interfacing
Microprocessor 8086
Introduction to embedded systems
Introduction to Microcontroller
8051 microcontroller and embedded system
Embedded system
Instruction Set of 8051 Microcontroller
8085 interfacing with memory chips
Stack in 8085 microprocessor
8086 micro processor
Controllability and observability
8051 memory
Microprocessor & microcontroller
Intel 8051 - pin description
Chapter 8 - Robot Control System
Design challenges in embedded systems
Data transfer techniques 8085
Ad

Similar to Microprocessor vs. microcontroller (20)

PPTX
Architecture of 8086 microprocessor
PPTX
Presentation on 8086 microprocessor
PPT
8051.ppt microcontroller full detail explnation
PPT
architecture memory interfacing
PDF
Module 1 8086
PPSX
8086 microprocessor
PPT
8086_architecture MMC PPT.ppt
PDF
1 MPMC_8086 Architecture READ CAREFULLY.pdf
PPTX
New ideas and General MICROPROCESSOR-PPT.pptx
PDF
8086 architecture and pin description
PPTX
Ece 8085-microprocessor-ppt
PDF
8086 microprocessor
PPT
Introduction to-microprocessors
PPTX
MicroProcessors
PPTX
LECTURE_2 Architecture of 8086 Microprocokessor.pptx
PPTX
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
PDF
MICROCONTROLLER - INTEL 8051
PPT
1326 Introduction To 8086 Microprocessor
Architecture of 8086 microprocessor
Presentation on 8086 microprocessor
8051.ppt microcontroller full detail explnation
architecture memory interfacing
Module 1 8086
8086 microprocessor
8086_architecture MMC PPT.ppt
1 MPMC_8086 Architecture READ CAREFULLY.pdf
New ideas and General MICROPROCESSOR-PPT.pptx
8086 architecture and pin description
Ece 8085-microprocessor-ppt
8086 microprocessor
Introduction to-microprocessors
MicroProcessors
LECTURE_2 Architecture of 8086 Microprocokessor.pptx
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
MICROCONTROLLER - INTEL 8051
1326 Introduction To 8086 Microprocessor
Ad

More from aviban (13)

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

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