SlideShare a Scribd company logo
1 of 56
8086 Microprocessor/
16-Bit Microprocessor
Mr.M.S.Sonale,sitcoe,yadrav
• 8086 is how many bit processor?
• 16 bit means?
• What is the size of data bus?
• How many bits can be read from memory and
write into memory ? Why?
• What is the size of address bus? It can acess
how many ports?
• Is 8086 possible to perform bit? Byte? Word?
Block operations?
• Is 8086 supports multiprogramming?
• Long form of Intel?
Software architecture of the
INTEL 8086
 Memory segmentation and
addressing
 Block diagram of 8086
 Address space & Data organization
 Data Types
 Registers
 Stack
 I/O space
Memory segmentation and addressing
• Von – Newman architecture & Harvard
architecture
• Program Memory & Data Memory
• Need for Segmentation
– To implement Harvard architecture
– Easy to debug
– Same Interfacing ICs can be used
– To avoid overlap of stack with normal memory
– Compatible with 8085
Segmented Memory
Memory Address Generation
• The BIU has a dedicated adder for
determining physical memory addresses.
Physical Address (20 Bits)
Adder
Segment Register (16
bits)
0 0 0 0
Offset Value (16 bits)
Segment : Offset
Address
• Logical Address is specified as segment:offset
• Physicaladdressis obtained by shifting the
segment address 4 bits to the left and
adding the offset address.
• Thus the physical address of the logical
address
A4FB:4872 is:
A4FB0
+ 4872
A9822
Segments, Segment Registers & Offset
Registers
• Segment Size = 64KB
• Maximum number of segments possible = 14
• Logical Address – 16 bits
• Physical Address – 20 bits
• 2 Logical Addresses for each Segments.
– Base Address (16 bits)
– Offset Address (16 bits)
• Segment registers are used to store the Base
address of the segment.
Segments, Segment Registers & Offset
Registers
• 4 Segments in
8086
– Code Segment (CS)
– Data Segment
(DS)
– Stack Segment
(SS)
– Extra Segment
(ES)
SEGMENT SEGMENT
REGISTE
R
OFFSET
REGISTER
Code Segment CSR Instruction
Pointer
(IP)
Data Segment DSR Source Index
(SI)
Extra Segment ESR Destination
Index
(DI)
Stack Segment SSR Stack Pointer
(SP) /
Base Pointer
(BP)
Block diagram of 8086
Block diagram of 8086
Pipelined architecture of the
8086 microprocessors
Execution and bus interface
units
Microprocessor
Architecture
Address space & Data organization
Storing a word in memory
What is the word in (b) in
Hex?
Memory address space
8086 Registers
SS
DS
ES
Segment
CS
BP
SP
SI
DI
BH
CH
DH DL
CL
BL
AH AL
General Purpose Index
Status andControl
Flags
IP
AX
BX
CX
DX
General Purpose Registers
• Normally used for storing temporary results
• Each of the registers is 16 bits wide (AX, BX,
CX, DX)
• Can be accessed as either 16 or 8 bits AX, AH,
AX - the
Accumulator BX -
the Base Register
CX - the Count
Register DX - the
Data Register
General Purpose Registers
• AX
– Accumulator Register
– Preferred register to use in arithmetic, logic and
data transfer instructions because it generates
the shortest Machine Language Code
– Must be used in multiplication and
division operations
– Must also be used in I/O operations
• BX
– Base Register
– Also serves as an address register
General Purpose
Registers
• CX
– Count register
– Used as a loop counter
– Used in shift and rotate
operations
• DX
– Data register
– Used in multiplication and
division
– Also used in I/O operations
Pointer and Index Registers
• All 16 bits wide, L/H bytes are not accessible
• Used as memory pointers
– Example: MOV AH, [SI]
• Move the byte stored in memory location whose address is
contained in register SI to register AH
• IP is not under direct control of the programmer
FLAG REGISTER
- Is a flip flop – which
indicates some condition –
produced by execution if
instruction or controls
certain operations of EU
Flag Register
Carr
y Parity
Auxiliary
Carry
Zer
o
Overflow
Directio
n
Interrupt
enable
Tra
p
Sig
n
6 are status
flags 3 are
control flag
8086 Programmer’s Model
ES
CS
SS
DS
I
P
A
H
B
H
C
H
D
H
A
L
B
L
C
L
D
L
S
P
B
P
SI
DI
FLA
GS
A
X
B
X
C
X
D
X
Extra Segment
Code Segment
Stack Segment
Data Segment
Instruction
Pointer
Accumulator
Base
Register
Count
Register
Data
Register
Stack
Pointer
Base
Pointer
BIU
registers
(20 bit
adder)
EU
registers
The
Stack
• The stack is used for temporary storage of
information such as data or addresses.
• When a CALL is executed, the 8086 automatically
PUSHes the current value of CS and IP onto the
stack.
• Other registers can also be pushed
• Before return from the subroutine, POP instructions
can be used to pop values back from the stack into
the corresponding registers.
The
Stack
Hardware Architecture of
INTEL 8086
Hardware Architecture of
INTEL 8086
 Pin Diagram and Pin Details
 min/max mode
 Hardware organization of address space
 Control signals
 Coprocessor and Multiprocessor
configuration
 I/O interfaces
Groun
d
Clock
Duty cycle: 33%
Power Supply
5V  10%
Reset
Registers,
seg regs,
flags
CS: FFFFH,
IP:
0000H
If high for
minimum
4 clks
Address/Data
Bus:
Contains address
bits A15-A0 when
ALE is 1 & data
bits D15 – D0 when
ALE is 0.
Address Latch
Enable:
When high,
multiplexed
address/data
bus contains
address
information.
INTERRU
PT
Non -
maskable
interrupt
Interrupt
request
Interrupt
acknowledge
Direct
Memor
y
Access
Hold
acknowled
ge
Hold
Address/Status
Bus
Address bits A19
– A16 & Status
bits S6
– S3
Bus High
Enable/S7
Enables most
significant data
bits D15 – D8
during read or
write operation.
S7: Always 1.
BHE#, A0:
0,0: Whole word
(16-bits)
0,1: High byte
to/from odd address
1,0: Low byte
to/from even address
1,1: No selection
Min/Max mode
Minimum Mode: +5V
Maximum Mode: 0V
Minimum Mode
Pins
Maximum
Mode
Pins
Minimum Mode- Pin Details
Read
Signal
Write Signal
Memory or I/0
Data Bus
Enable
Data
Transmit/Recei
ve
• When only one 8086 CPU is
to be used in microcomputer
system.
• CPU issues the control
signals required by
memory and I/O devices
Minimum Mode
Maximum Mode - Pin Details
Prof.Ms.Aaradhana A.
Deshmukh,
Status
SignalInputs to 8288 to
generate
eliminated signals
due to max
mode.
S2 S1 S0
000: INTA
001: read I/O
port 010: write
I/O port 011: halt
100: code access
101: read memory
110: write memory
111: none -passive
Maximum Mode - Pin Details
DMA
Request/Grant
Lock Output
Lock Output
Used to lock peripherals
off the system
Activated by using the
LOCK: prefix on any
instruction
Maximum Mode - Pin Details
Queue
Status
Used by numeric
coprocessor
(8087)
QS1 QS0
00: Queue is idle
01: First byte of opcode
10: Queue is empty
11: Subsequent byte of
opcode
Maximum Mode
• When more than one 8086
CPU is to be used in
microcomputer system.
• The control signals generated
with the help of external bus
controller.
Minimum Mode 8086
System
Minimum Mode 8086
System
Maximum Mode 8086
System
Maximum Mode 8086 System
• Here, either a numeric coprocessor of the type 8087 or
another processor is interfaced with 8086.
• The Memory, AddressBus, Data Busesare shared
resources between the two processors.
• The control signals for Maximum mode of operation
are generated by the Bus Controller chip 8788.
• The three status outputs S0*, S1*, S2* from the processor
are input to 8788.
• The outputs of the bus controller are the Control Signals,
namely
DEN, DT/R*, IORC*, IOWTC*, MWTC*, MRDC*, ALE etc.
8086 Interrupts
8086 Interrupts Procedure
8086 External Interrupts
8086 Control
Signals
1. ALE
2. BHE
3. M/IO
4. DT/R
5. RD
6. WR
7. DEN
Coprocessor and Multiprocessor
configuration
• Multiprocessor Systems refer to the use of multiple
processors that executes instructions
simultaneously and communicate with each
other using mail boxes and Semaphores.
• Maximum mode of 8086 is designedto implement
3 basic multiprocessor configurations:
1. Coprocessor (8087)
2. Closely coupled (8089)
3. Loosely coupled (Multibus)
Coprocessor and Multiprocessor
configuration
• Coprocessors and Closely coupled configurations
are similar in that both the 8086 and the external
processor shares the:
- Memory
- I/O system
- Bus & bus control logic
- Clock generator
Coprocessor / Closely Coupled
Configuration
TEST pin of 8086
• Used in conjunction with the WAIT instruction in
multiprocessing environments.
• This is input from the 8087 coprocessor.
• During execution of a wait instruction, the CPU
checks this signal.
• If it is low, execution of the signal will continue; if not, it
will stop executing.
Coprocessor Execution Example
Coprocessor cannot take control of the bus, it does
everything through the CPU
Closely Coupled Execution Example
• Closely Coupled
processor may
take control of
the bus
independently.
• Two 8086’s
cannot
be closely
coupled.
Advantages of Multiprocessor
Configuration
1. High system throughput can be achieved by
having more than one CPU.
2. The system can be expanded in modular
form.
 Each bus master module is an independent unit and normally
resides on a separate PC board. One can be added or removed
without affecting the others in the system.
3. A failure in one module normally does not
affect the breakdown
of the entire system and the faulty module can be
easilydetected and replaced
4. Each bus master has its own local bus to access dedicated
memory or IO devices. So a greater degree of parallel
processing can be achieved.

More Related Content

What's hot

General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
80286 microprocessor
80286 microprocessor80286 microprocessor
80286 microprocessorAvin Mathew
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086saurav kumar
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructionsRavi Anand
 
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.mali yogesh kumar
 
ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086mudulin
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessorRavi Yasas
 
Memory banking-of-8086-final
Memory banking-of-8086-finalMemory banking-of-8086-final
Memory banking-of-8086-finalEstiak Khan
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorAshita Agrawal
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386yash sawarkar
 
8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum modeSridari Iyer
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Shehrevar Davierwala
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram descriptionAkhil Singal
 
Computer registers
Computer registersComputer registers
Computer registersDeepikaT13
 

What's hot (20)

General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
80286 microprocessor
80286 microprocessor80286 microprocessor
80286 microprocessor
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
8251 USART
8251 USART8251 USART
8251 USART
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
Memory banking-of-8086-final
Memory banking-of-8086-finalMemory banking-of-8086-final
Memory banking-of-8086-final
 
Mips
MipsMips
Mips
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum mode
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram description
 
Computer registers
Computer registersComputer registers
Computer registers
 

Similar to 8086 ppt

8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.pptJamesAlpha3
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessorDiponkor Bala
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptSanjay164567
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptssuserbe76c3
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptHarshShah659
 
Management of system software
Management of system softwareManagement of system software
Management of system softwareAryaChandran13
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessorSManjula2
 
Microprocessor 8086 nitin_p
Microprocessor 8086 nitin_pMicroprocessor 8086 nitin_p
Microprocessor 8086 nitin_pnitinahire15
 
Microprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireMicroprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireNitin Ahire
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessorAshwiniTodkar4
 
Assembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxAssembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxVickyThakur61
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxssuser631ea0
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish NagarNitish Nagar
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01destaw belay
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01Siva Raman
 

Similar to 8086 ppt (20)

8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
Microcontroller 8096
Microcontroller 8096Microcontroller 8096
Microcontroller 8096
 
Management of system software
Management of system softwareManagement of system software
Management of system software
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Microprocessor 8086 nitin_p
Microprocessor 8086 nitin_pMicroprocessor 8086 nitin_p
Microprocessor 8086 nitin_p
 
Microprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireMicroprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahire
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
Assembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxAssembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptx
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
 
Application of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptxApplication of 8086 and 8085 Microprocessor in Robots.pptx
Application of 8086 and 8085 Microprocessor in Robots.pptx
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 

More from Mohansonale1

More from Mohansonale1 (6)

8259
82598259
8259
 
8086 add mod
8086 add mod8086 add mod
8086 add mod
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
 
Pin8086
Pin8086Pin8086
Pin8086
 
Memory comp
Memory compMemory comp
Memory comp
 
Process.org
Process.orgProcess.org
Process.org
 

Recently uploaded

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

8086 ppt

  • 2. • 8086 is how many bit processor? • 16 bit means? • What is the size of data bus? • How many bits can be read from memory and write into memory ? Why? • What is the size of address bus? It can acess how many ports? • Is 8086 possible to perform bit? Byte? Word? Block operations? • Is 8086 supports multiprogramming? • Long form of Intel?
  • 3. Software architecture of the INTEL 8086  Memory segmentation and addressing  Block diagram of 8086  Address space & Data organization  Data Types  Registers  Stack  I/O space
  • 4. Memory segmentation and addressing • Von – Newman architecture & Harvard architecture • Program Memory & Data Memory • Need for Segmentation – To implement Harvard architecture – Easy to debug – Same Interfacing ICs can be used – To avoid overlap of stack with normal memory – Compatible with 8085
  • 6. Memory Address Generation • The BIU has a dedicated adder for determining physical memory addresses. Physical Address (20 Bits) Adder Segment Register (16 bits) 0 0 0 0 Offset Value (16 bits)
  • 7. Segment : Offset Address • Logical Address is specified as segment:offset • Physicaladdressis obtained by shifting the segment address 4 bits to the left and adding the offset address. • Thus the physical address of the logical address A4FB:4872 is: A4FB0 + 4872 A9822
  • 8. Segments, Segment Registers & Offset Registers • Segment Size = 64KB • Maximum number of segments possible = 14 • Logical Address – 16 bits • Physical Address – 20 bits • 2 Logical Addresses for each Segments. – Base Address (16 bits) – Offset Address (16 bits) • Segment registers are used to store the Base address of the segment.
  • 9. Segments, Segment Registers & Offset Registers • 4 Segments in 8086 – Code Segment (CS) – Data Segment (DS) – Stack Segment (SS) – Extra Segment (ES) SEGMENT SEGMENT REGISTE R OFFSET REGISTER Code Segment CSR Instruction Pointer (IP) Data Segment DSR Source Index (SI) Extra Segment ESR Destination Index (DI) Stack Segment SSR Stack Pointer (SP) / Base Pointer (BP)
  • 12. Pipelined architecture of the 8086 microprocessors
  • 13. Execution and bus interface units
  • 15. Address space & Data organization Storing a word in memory What is the word in (b) in Hex? Memory address space
  • 16. 8086 Registers SS DS ES Segment CS BP SP SI DI BH CH DH DL CL BL AH AL General Purpose Index Status andControl Flags IP AX BX CX DX
  • 17. General Purpose Registers • Normally used for storing temporary results • Each of the registers is 16 bits wide (AX, BX, CX, DX) • Can be accessed as either 16 or 8 bits AX, AH, AX - the Accumulator BX - the Base Register CX - the Count Register DX - the Data Register
  • 18. General Purpose Registers • AX – Accumulator Register – Preferred register to use in arithmetic, logic and data transfer instructions because it generates the shortest Machine Language Code – Must be used in multiplication and division operations – Must also be used in I/O operations • BX – Base Register – Also serves as an address register
  • 19. General Purpose Registers • CX – Count register – Used as a loop counter – Used in shift and rotate operations • DX – Data register – Used in multiplication and division – Also used in I/O operations
  • 20. Pointer and Index Registers • All 16 bits wide, L/H bytes are not accessible • Used as memory pointers – Example: MOV AH, [SI] • Move the byte stored in memory location whose address is contained in register SI to register AH • IP is not under direct control of the programmer
  • 21. FLAG REGISTER - Is a flip flop – which indicates some condition – produced by execution if instruction or controls certain operations of EU
  • 23. 8086 Programmer’s Model ES CS SS DS I P A H B H C H D H A L B L C L D L S P B P SI DI FLA GS A X B X C X D X Extra Segment Code Segment Stack Segment Data Segment Instruction Pointer Accumulator Base Register Count Register Data Register Stack Pointer Base Pointer BIU registers (20 bit adder) EU registers
  • 24. The Stack • The stack is used for temporary storage of information such as data or addresses. • When a CALL is executed, the 8086 automatically PUSHes the current value of CS and IP onto the stack. • Other registers can also be pushed • Before return from the subroutine, POP instructions can be used to pop values back from the stack into the corresponding registers.
  • 27. Hardware Architecture of INTEL 8086  Pin Diagram and Pin Details  min/max mode  Hardware organization of address space  Control signals  Coprocessor and Multiprocessor configuration  I/O interfaces
  • 28.
  • 29. Groun d Clock Duty cycle: 33% Power Supply 5V  10% Reset Registers, seg regs, flags CS: FFFFH, IP: 0000H If high for minimum 4 clks
  • 30. Address/Data Bus: Contains address bits A15-A0 when ALE is 1 & data bits D15 – D0 when ALE is 0. Address Latch Enable: When high, multiplexed address/data bus contains address information.
  • 33. Address/Status Bus Address bits A19 – A16 & Status bits S6 – S3
  • 34. Bus High Enable/S7 Enables most significant data bits D15 – D8 during read or write operation. S7: Always 1. BHE#, A0: 0,0: Whole word (16-bits) 0,1: High byte to/from odd address 1,0: Low byte to/from even address 1,1: No selection
  • 35. Min/Max mode Minimum Mode: +5V Maximum Mode: 0V Minimum Mode Pins Maximum Mode Pins
  • 36. Minimum Mode- Pin Details Read Signal Write Signal Memory or I/0 Data Bus Enable Data Transmit/Recei ve
  • 37. • When only one 8086 CPU is to be used in microcomputer system. • CPU issues the control signals required by memory and I/O devices Minimum Mode
  • 38. Maximum Mode - Pin Details Prof.Ms.Aaradhana A. Deshmukh, Status SignalInputs to 8288 to generate eliminated signals due to max mode. S2 S1 S0 000: INTA 001: read I/O port 010: write I/O port 011: halt 100: code access 101: read memory 110: write memory 111: none -passive
  • 39. Maximum Mode - Pin Details DMA Request/Grant Lock Output Lock Output Used to lock peripherals off the system Activated by using the LOCK: prefix on any instruction
  • 40. Maximum Mode - Pin Details Queue Status Used by numeric coprocessor (8087) QS1 QS0 00: Queue is idle 01: First byte of opcode 10: Queue is empty 11: Subsequent byte of opcode
  • 41. Maximum Mode • When more than one 8086 CPU is to be used in microcomputer system. • The control signals generated with the help of external bus controller.
  • 45. Maximum Mode 8086 System • Here, either a numeric coprocessor of the type 8087 or another processor is interfaced with 8086. • The Memory, AddressBus, Data Busesare shared resources between the two processors. • The control signals for Maximum mode of operation are generated by the Bus Controller chip 8788. • The three status outputs S0*, S1*, S2* from the processor are input to 8788. • The outputs of the bus controller are the Control Signals, namely DEN, DT/R*, IORC*, IOWTC*, MWTC*, MRDC*, ALE etc.
  • 49. 8086 Control Signals 1. ALE 2. BHE 3. M/IO 4. DT/R 5. RD 6. WR 7. DEN
  • 50. Coprocessor and Multiprocessor configuration • Multiprocessor Systems refer to the use of multiple processors that executes instructions simultaneously and communicate with each other using mail boxes and Semaphores. • Maximum mode of 8086 is designedto implement 3 basic multiprocessor configurations: 1. Coprocessor (8087) 2. Closely coupled (8089) 3. Loosely coupled (Multibus)
  • 51. Coprocessor and Multiprocessor configuration • Coprocessors and Closely coupled configurations are similar in that both the 8086 and the external processor shares the: - Memory - I/O system - Bus & bus control logic - Clock generator
  • 52. Coprocessor / Closely Coupled Configuration
  • 53. TEST pin of 8086 • Used in conjunction with the WAIT instruction in multiprocessing environments. • This is input from the 8087 coprocessor. • During execution of a wait instruction, the CPU checks this signal. • If it is low, execution of the signal will continue; if not, it will stop executing.
  • 54. Coprocessor Execution Example Coprocessor cannot take control of the bus, it does everything through the CPU
  • 55. Closely Coupled Execution Example • Closely Coupled processor may take control of the bus independently. • Two 8086’s cannot be closely coupled.
  • 56. Advantages of Multiprocessor Configuration 1. High system throughput can be achieved by having more than one CPU. 2. The system can be expanded in modular form.  Each bus master module is an independent unit and normally resides on a separate PC board. One can be added or removed without affecting the others in the system. 3. A failure in one module normally does not affect the breakdown of the entire system and the faulty module can be easilydetected and replaced 4. Each bus master has its own local bus to access dedicated memory or IO devices. So a greater degree of parallel processing can be achieved.