SlideShare a Scribd company logo
1 of 67
UNIT 2
8086 SYSTEM BUS STRUCTURE
8086 signals – Basic configurations – System bus timing –
System design using 8086 – I/O programming – Introduction to
Multiprogramming – System Bus Structure – Multiprocessor
configurations – Coprocessor, Closely coupled and loosely
Coupled configurations – Introduction to advanced processors.
8086 SIGNALS
• A 40 pin DIP 8086 microprocessor
• 8086 microprocessor can operate in two modes:
Minimum mode and Maximum mode.
• The pins 24 to 31 have alternate functions for
every mode.
Minimum mode
• MN/ MX pin is connected to +5V. Used in small
systems including only one CPU.
Maximum mode
• MN/ MX pin is connected to ground. Used in large
systems and systems with more than one
processor.
Address / Data Bus (AD15–AD0)
• The multiplexed Address/ Data bus acts as address bus
during the first part of machine cycle (T1) and data bus for
the remaining part of the machine cycle.
Address/Status (A19/S6, A18/S5, A17/S4, A16/S3)
• During T1 these are the four most significant address lines
for memory operations. During I/O operations these lines
are LOW. During memory and I/O operations, status
information is available on these lines during T2, T3, TWAIT,
T4.
Bus High Enable/Status ( BHE /S7)
• During T1 the bus high enable signal ( BHE ) should be
used to enable data onto the most significant half of
the data bus, pins D15±D8.
• BHE is LOW during T1 for read, write, and interrupt
acknowledge cycles when a byte is to be transferred
on the high portion of the bus. The S7 status
information is available during T2, T3, and T4.
Read ( RD )
• This signal is used to read data from memory or I/O
device which reside on the 8086 local bus.
Ready
• If this signal is low the 8086 enters into WAIT state.
The READY signal from memory/ IO is synchronized
by the 8284A clock generator to form READY. This
signal is active HIGH.
Interrupt Request (INTR)
• It is a level triggered maskable interrupt request. A
subroutine is vectored via an interrupt vector lookup
table located in system memory. It can be internally
masked by software resetting the interrupt enable
bit. INTR is internally synchronized. This signal is
active HIGH.
TEST
• This input is examined by the “Wait” instruction. If the TEST input is LOW
execution continues, otherwise the processor waits in an ``Idle’’ state. This
input is synchronized internally during each clock cycle on the leading edge of
CLK.
Reset
• This signal is used to reset the 8086. It causes the processor to immediately
terminate its present activity. The signal must be active HIGH for at least four
clock cycles. It restarts execution when RESET returns LOW.
Clock (CLK)
• This signal provides the basic timing for the processor and bus controller. The
clock frequency may be 5 MHz or 8 MHz or 10 MHz depending on the version
of 8086.
VCC
• It is a +5V power supply pin.
Ground (GND)
• Two pins (1 and 20) are connected to ground ie, 0 V power supply.
Minimum/Maximum (MN/ MX )
• This pin indicates what mode the processor is to operate in. The 8086 can be
configured in either minimum mode or maximum mode using this pin.
SYSTEM BUS STRUCTURE
• Microprocessor is processing device of every
computing device. It needs to communicate with
outer world. It needs to communicate with input
devices to get data, it needs to communicate with
memory to process data according to instructions
written in memory and finally it needs to
communicate with output devices to display the
output on output devices. To communicate with
external world, microprocessor make use of buses.
• System bus is a single computer bus that connects
the major components of a computer system. It
consists of data bus, address bus and control bus.
Data Bus
• It is used for the exchange of data between the
processor, memory and peripherals.
• It is bi-directional so that it allows data flow in
both directions.
• The width of the data bus can differ for every
microprocessor.
• When the microprocessor issues the address of
the instruction, it gets back the instruction
through the data bus.
• When it issues the address of the data, it loads
the data through the data bus.
Address Bus
• The address bus contains the connections between
the microprocessor and memory or output devices
that carry the signals relating to the addresses which
the CPU is processing at that time, such as the
locations that the CPU is reading from or writing to.
• It is unidirectional.
• The width of the address bus corresponds to the
maximum addressing capacity of the bus, or the
largest address within memory that the bus can work
with.
• Maximum address capacity = 2n (n=address lines).
Address bus may be multiplexed with data bus.
Control Bus
• The control bus carries the signals relating to the
control and coordination of the various activities
across the computer, which can be sent from the
control unit within the CPU.
• Microprocessor uses control bus to process data,
that is what to do with the selected memory
location.
• Various operations are performed by
microprocessor with the help of control bus.
• This is a dedicated bus, because all timing signals are
generated according to control signal
• Some control signals are Read, Write and Opcode
fetch etc.
SYSTEM DESIGN USING 8086
The system design starts with specifications. The
specification of the system includes the
following:
• I/O devices
• Memory requirement
• System clock frequency
• Peripheral devices required
• Application
I/O devices
• The popular input device used in single board
microcomputer system is 8279 – keyboard and
display controller.
The popular output devices are,
• LED display
• LCD
• Printer
• Floppy disk / CD
• CRT terminal
• Intel 8279 is used for LED display. The LCD and
printer are interfaced using ports. Intel 8272 or
82072 floppy disk controller and Intel 8275 CRT
controller are popularly used in 8086 system.
Memory requirement
• The memory of the system is splitted between
EPROM and RAM. The memory capacity of
EPROM and RAM are estimated based on the
applications and work to be performed.
• The popular EPROM used in 8086 based system
are 2708 (1K x 8), 2716 (2K x 8), 2732 (4K x 8),
2764 (8K x 8) and 27256 (32K x 8).
• The popular static RAM used in 8086 based
system are 6208 (1K x 8), 6216 (2K x 8), 6232 (4K
x 8), 6264 (8K x 8) and 62256 (32 K x 8).
System clock frequency
• The 8086 does not have an internal clock circuit.
Hence clock has to be supplied from an external
device.
• The Intel 8284 clock generator is employed to
generate the clock. An external quartz crystal has
to be connected to 8284 to generate the clock
signal.
• The frequency of quartz crystal should be thrice
the internal clock frequency of 8086.
Peripheral devices
• The peripheral devices required for a system depends on its
applications. Some of the peripheral devices that can be
interfaced to 8086 based system are,
• Intel 8253 - Programmable Interval Timer
• Intel 8251 - USART
• Intel 8255 - Programmable Peripheral Interface
• Intel 8279 - Keyboard / Display controller
• Intel 8257 - DMA controller
• ADC, DAC etc.
Application
• The specifications of the microprocessor itself depends on
the applications for the proposed system and the nature of
work. The I/O device, memory, peripheral device are all
depends on the nature of work to be performed by the
system.
MIN-MAX MODE OF OPERATION
• When only 8086 microprocessor is to be used in a
microcomputer system, the 8086 is used in the
minimum mode of operation. In this mode, the
microprocessor issues the control signals required by
memory or I/O devices.
• In a multiprocessor system it operates in the
maximum mode. In this mode, the control signals are
issued by Intel 8288 bus controller.
• The pin MN/ MX (33) decides the operating mode of
8086.
• When MN/ MX = 0, maximum mode of operation.
= 1, minimum mode of operation.
• Pins 24 to 31 have different functions for minimum
mode and maximum mode.
Minimum Mode
• For minimum mode of operation MN/ MX is connected to VCC
(+5 volts).
• Pins 24 to 31 have the following functions:
Transceivers (8286) – 2 numbers
Clock generator (8284)
Memory or I/O devices.
• Latches are used for demultiplexing and these latches are
enabled by using the ALE signal. 3 numbers of latches
(Intel 8282/8283) are used as address latches.
• The signal DEN is used as an output enable signal.
• The signal DT/ R is used as direction control.
• The clock generator (Intel 8284) does the following
functions:
Clock generation
RESET synchronization
READY synchronization
Peripheral clock generation
• HOLD and HLDA signals are used to interface other bus
masters like DMA controller.
• INTA (Interrupt Acknowledge) signal is issued by the
microprocessor on receiving any interrupt signal.
Maximum Mode
• For maximum mode of operation MN/ MX pin is
grounded.
Status signal
S2 S1 S0 FUNCTION
0 0 0 INTEREUPT ACK
0 0 1 I/O READ
0 1 0 I/O WRITE
0 1 1 HLT
1 0 0 OPCODE FETCH
1 0 1 MEMORY READ
1 1 0 MEMORY WRITE
1 1 1 PASSIVE
Maximum Mode – Read Cycle
Maximum Mode – Write Cycle
I/OPROGRAMMING
• I/O programming discuss the ways in which
information can be transferred between input-
output devices or mass storage devices and
the CPU or memory. The three modes of
transfer of device data, commands and status
are,
1.Programmed I/O
2.Interrupt driven I/O
3.DMA Transfer
• Programmed I/O : The program determines
which interfaces need servicing bit testing the
ready bits in their status registers. Programmed
testing of ready bits or signals is known as polling.
• Interrupt driven I/O: An external interrupt is sent
to the CPU from the interface when the interface
has data to input or is ready to accept data and
the I/O operation is performed by an interrupt
routine.
• DMA transfer: The interface requests the use of
the bus by sending a signal through the control
line and makes the necessary transfer without the
help of the CPU.
PROGRAMMED I /O
Read input in programmed I/O mode
Programmed I/O consists of continually examining the status of
an interface and performing an I/O operation with the interface
when its status indicates that it has data to be input or its data-
out buffer register is ready to receive data from the CPU.
Output write in programmed I/O mode
Interrupt driven I /O
• There are several ways of combining with
interrupt I/O, some involving only software,
some only hardware, and some a combination of
the two. They are,
i) Polling
ii) Daisy chaining
iii) Interrupt priority management hardware
Polling
Polling is the most common and simplest method of
I/O control. It requires no special hardware and all I/O
transfers are controlled by the CPU program. Polling is
a synchronous mechanism, by which devices are
serviced in sequential order.
The polling technique has the following limitations:
• It is wasteful of the processors time, as it needlessly
checks the status of all devices all the time.
• It is inherently slow
• When fast devices are connected to a system, polling
may simply not be fast enough to satisfy the minimum
service requirements
Daisy chaining
• It is a simple hardware means of attaining a
priority scheme. It consists of associating a
logic circuit with each interface and passing
the interrupt acknowledge signal through
these circuits as shown in Fig.
• The priority of an interface is determined by
its position on the daisy chain. The closer it is
to the CPU the higher its priority.
• This is significantly faster than a pure software
approach. A daisy chain is used to identify the
device requesting service.
• Because more than one device can assert the shared interrupt
line simultaneously, some method must be employed to
ensure device priority.
• This is done using the interrupt acknowledge signal generated
by the processor in response to an interrupt request.
• Each device is connected to the same interrupt request line,
but the interrupt acknowledge line is passed through each
device, from the highest priority device first, to the lowest
priority device last.
• After preserving the required registers, the microprocessor
generates an interrupt acknowledge signal. This is gated
through each device.
• If device 1 generated the interrupt, it will place its
identification signal on the data bus, which is read by the
processor, and used to generate the address of the interrupt-
service routine.
• If device 1 did not request the servicing, it will pass the
interrupt acknowledge signal on to the next device in the
chain. Device 2 follows the same procedure, and so on.
Daisy chaining
Interrupt priority management
hardware
• A more flexible hardware priority arrangement can be
held by designing a programmable interrupt priority
management circuit and including it in the bus control
logic.
• This is the fastest system. The duty is placed on the
requesting device to request the interrupt, and identify
itself. The identity could be a branching address for the
desired interrupt-handling routine.
• If the device just supplies an identification number, this
can be used in conjunction with a lookup table to
determine the address of the required service routine.
Response time is best when the device requesting
service also supplies a branching address.
Direct Memory Access Block Transfer
• A DMA controller allows devices to transfer data
to or from the system’s memory without the
intervention of the processor.
• During any given bus cycle, one of the system
components connected to the system bus is given
control of the bus.
• Taking control of the bus for a bus cycle is called
cycle stealing.
MULTIPROGRAMMING
• Multiprogramming can execute several jobs concurrently
by switching the attention of the CPU back and forth
among them.
• This switching is usually prompted by a relative slow input,
output storage request that can be handled by a buffer,
spooler or channel freeing the CPU to continue
processing.
• The code for two or more processes is in memory at the
same time and is executed in a time-multiplexed fashion in
multiprogramming.
• Multiprogramming enable the CPU to be utilized more
efficiently. If the operating system can quickly switch the
CPU to another task whenever the being worked in
requires relatively slow input, output or storage
operations, then CPU is not allowed to stand idle.
Advantages of multiprogramming
• It increases CPU utilization.
• It decreases total read time needed to execute a
job.
• It maximizes the total job throughout of a
computer.
Disadvantages of multiprogramming
• It is fairly sophisticated and more complex.
Process Management
MULTIPROCESSOR CONFIGURATIONS
• A multiprocessor system will have two or more
processors that can execute instructions or perform
operations simultaneously.
Need for Multiprocessor Systems
• Due to limited data width and lack of floating point
arithmetic instructions, 8086 requires many
instructions for computing even single floating point
operation. For this Numeric Data Processor (8087), can
help 8086 processor.
• Some processor like DMA controllers can help 8086
with low level operations, while the CPU can take care
of the high level operations.
Advantages
• It is easy to add more processor for expansion as per
requirement.
• When a failure occurs, it is easier to replace the faulty
processor.
• In a multiprocessor system implementation of modular
processing of task can be achieved.
Basic Multiprocessor Configurations
• Co processor configuration
• Closely coupled configuration
• Loosely coupled configuration
COPROCESSOR CONFIGURATION
CLOSELY COUPLED CONFIGURATION
• Coprocessor and closely coupled
configurations are similar in that both the
8086 and the external processor (8089) share :
• Memory
• I/O system
• Bus and Bus control logic
• Clock generator
LOOSELY COUPLED CONFIGURATION
• In loosely coupled configuration a number of modules of 8086 can
be interfaced through a common system bus to work as a
multiprocessor system. Each module in the loosely coupled
configuration is an independent microprocessor based system with
its own clock source, and its own memory and I/O devices
interfaced through a local bus.
Advantages
• Better system throughput by having more than one processor.
• The system can be expanded in modular form. Each processor is an
independent unit and normally on a separate PC board. One can be
added or removed without affecting the others in the system.
• A failure in one module normally does not affect the breakdown of
the entire system and faulty module can be easily detected and
replaced.
Bus allocation schemes:
• Daisy chaining
• Polling method
• Independent Priority
Daisy Chaining
Polling Method
Independent Priority
INTRODUCTION TOADVANCED
PROCESSORS
Protected mode operation of x86 family
Pentium Processors
• The Pentium family of processors originated from the 80486
microprocessor.
• The first Pentium processors were introduced in 1993.
• It runs at a clock frequency of either 60 or 66 MHz and has 3.1
million transistors.
The features of Pentium architecture are
• Improved instruction execution time
• Bus cycle pipelining
• Address parity .
• Internal parity checking
• Functional redundancy checking
• Execution tracing
• Performance monitoring
• System management mode
• Virtual mode extensions
The important features of Pentium architecture are
• Wider (64-bit) Data Bus
• Superscalar Architecture
• Dynamic Branch Prediction Logic
• Enhanced Floating Point Unit
• Dedicated Instruction and Data Cache
• Write-Back MESI Protocol in Data Cache
Superscalar Architecture of Pentium
The Pentium processor has two primary operating modes
• Protected Mode
• Real-Address Mode
The five stages of Pentium’s basic integer pipeline are,
• Pre-fetch/Fetch : Instructions are fetched from the
instruction cache and aligned in pre-fetch buffers for
decoding.
• Decode1 : Instructions are decoded into the Pentium's
internal instruction format. Branch prediction also takes
place at this stage.
• Decode2 : Same as above, and microcode ROM kicks in
here, if necessary. Also, address computations take place
at this stage.
• Execute : The integer hardware executes the instruction.
• Write-back : The results of the computation are written
back to the register file.
64-bit processors in personal
computers
• In 1990, IBM introduced microprocessor based on POWER
architecture with UNIX operating system.
• PowerPC was second generation POWER architecture. It has RISC
architecture.
• Design features of PowerPC are as follows.
Design features of PowerPC are as follows.
• Broad range implementation
• Simple processor design
• Superscalar architecture
• Multiprocessor features
• 64-bit architecture
• PowerPC can switch from one mode to another at run time.
• Separate set of floating point instructions for
• Separate set of Floating Point Registers for floating-point
instructions
Multi-core processor

More Related Content

What's hot

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorKashyap Shah
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086Ikhlas Rahman
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorNikhil Kumar
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
8085 interfacing with memory chips
8085 interfacing with memory chips8085 interfacing with memory chips
8085 interfacing with memory chipsSrikrishna Thota
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor DebrajJana4
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2Aisu
 
8086 instructions
8086 instructions8086 instructions
8086 instructionsRavi Anand
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontrollerAnkit Bhatnagar
 
Key board interfacing with 8051
Key board interfacing with 8051Key board interfacing with 8051
Key board interfacing with 8051DominicHendry
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORGurudev joshi
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
Modulo n counter
Modulo n counterModulo n counter
Modulo n counterManoj Guha
 

What's hot (20)

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
 
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
MICROPROCESSOR & MICROCONTROLLER 8086,8051 NotesMICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
Arithmetic and logical instructions
Arithmetic and logical instructionsArithmetic and logical instructions
Arithmetic and logical instructions
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
8085 interfacing with memory chips
8085 interfacing with memory chips8085 interfacing with memory chips
8085 interfacing with memory chips
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
8086 instructions
8086 instructions8086 instructions
8086 instructions
 
8251 USART
8251 USART8251 USART
8251 USART
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
 
Key board interfacing with 8051
Key board interfacing with 8051Key board interfacing with 8051
Key board interfacing with 8051
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
8251 USART
8251 USART8251 USART
8251 USART
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
Modulo n counter
Modulo n counterModulo n counter
Modulo n counter
 

Similar to UNIT 2 8086 System Bus Structure.pptx

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
 
8086 Programing.ppt
8086 Programing.ppt8086 Programing.ppt
8086 Programing.pptDrRRAMAN
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxDrVaibhavMeshram
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 
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
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptxCharunnath S V
 
architecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxarchitecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxDrVikasMahor
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERAnkita Jaiswal
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.pptsiminkhan
 

Similar to UNIT 2 8086 System Bus Structure.pptx (20)

UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
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
 
8086 Programing.ppt
8086 Programing.ppt8086 Programing.ppt
8086 Programing.ppt
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 
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
 
Unit 2 - Microprocessor & Microcontroller.pptx
Unit 2 -  Microprocessor & Microcontroller.pptxUnit 2 -  Microprocessor & Microcontroller.pptx
Unit 2 - Microprocessor & Microcontroller.pptx
 
architecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxarchitecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptx
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
Mpi unit i_8086_architectures
Mpi unit i_8086_architecturesMpi unit i_8086_architectures
Mpi unit i_8086_architectures
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.ppt
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
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
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
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
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
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
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.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
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
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 2 8086 System Bus Structure.pptx

  • 1. UNIT 2 8086 SYSTEM BUS STRUCTURE 8086 signals – Basic configurations – System bus timing – System design using 8086 – I/O programming – Introduction to Multiprogramming – System Bus Structure – Multiprocessor configurations – Coprocessor, Closely coupled and loosely Coupled configurations – Introduction to advanced processors.
  • 3.
  • 4. • A 40 pin DIP 8086 microprocessor • 8086 microprocessor can operate in two modes: Minimum mode and Maximum mode. • The pins 24 to 31 have alternate functions for every mode. Minimum mode • MN/ MX pin is connected to +5V. Used in small systems including only one CPU. Maximum mode • MN/ MX pin is connected to ground. Used in large systems and systems with more than one processor.
  • 5.
  • 6.
  • 7. Address / Data Bus (AD15–AD0) • The multiplexed Address/ Data bus acts as address bus during the first part of machine cycle (T1) and data bus for the remaining part of the machine cycle. Address/Status (A19/S6, A18/S5, A17/S4, A16/S3) • During T1 these are the four most significant address lines for memory operations. During I/O operations these lines are LOW. During memory and I/O operations, status information is available on these lines during T2, T3, TWAIT, T4.
  • 8. Bus High Enable/Status ( BHE /S7) • During T1 the bus high enable signal ( BHE ) should be used to enable data onto the most significant half of the data bus, pins D15±D8. • BHE is LOW during T1 for read, write, and interrupt acknowledge cycles when a byte is to be transferred on the high portion of the bus. The S7 status information is available during T2, T3, and T4.
  • 9. Read ( RD ) • This signal is used to read data from memory or I/O device which reside on the 8086 local bus. Ready • If this signal is low the 8086 enters into WAIT state. The READY signal from memory/ IO is synchronized by the 8284A clock generator to form READY. This signal is active HIGH. Interrupt Request (INTR) • It is a level triggered maskable interrupt request. A subroutine is vectored via an interrupt vector lookup table located in system memory. It can be internally masked by software resetting the interrupt enable bit. INTR is internally synchronized. This signal is active HIGH.
  • 10. TEST • This input is examined by the “Wait” instruction. If the TEST input is LOW execution continues, otherwise the processor waits in an ``Idle’’ state. This input is synchronized internally during each clock cycle on the leading edge of CLK. Reset • This signal is used to reset the 8086. It causes the processor to immediately terminate its present activity. The signal must be active HIGH for at least four clock cycles. It restarts execution when RESET returns LOW. Clock (CLK) • This signal provides the basic timing for the processor and bus controller. The clock frequency may be 5 MHz or 8 MHz or 10 MHz depending on the version of 8086. VCC • It is a +5V power supply pin. Ground (GND) • Two pins (1 and 20) are connected to ground ie, 0 V power supply. Minimum/Maximum (MN/ MX ) • This pin indicates what mode the processor is to operate in. The 8086 can be configured in either minimum mode or maximum mode using this pin.
  • 11. SYSTEM BUS STRUCTURE • Microprocessor is processing device of every computing device. It needs to communicate with outer world. It needs to communicate with input devices to get data, it needs to communicate with memory to process data according to instructions written in memory and finally it needs to communicate with output devices to display the output on output devices. To communicate with external world, microprocessor make use of buses. • System bus is a single computer bus that connects the major components of a computer system. It consists of data bus, address bus and control bus.
  • 12. Data Bus • It is used for the exchange of data between the processor, memory and peripherals. • It is bi-directional so that it allows data flow in both directions. • The width of the data bus can differ for every microprocessor. • When the microprocessor issues the address of the instruction, it gets back the instruction through the data bus. • When it issues the address of the data, it loads the data through the data bus.
  • 13. Address Bus • The address bus contains the connections between the microprocessor and memory or output devices that carry the signals relating to the addresses which the CPU is processing at that time, such as the locations that the CPU is reading from or writing to. • It is unidirectional. • The width of the address bus corresponds to the maximum addressing capacity of the bus, or the largest address within memory that the bus can work with. • Maximum address capacity = 2n (n=address lines). Address bus may be multiplexed with data bus.
  • 14. Control Bus • The control bus carries the signals relating to the control and coordination of the various activities across the computer, which can be sent from the control unit within the CPU. • Microprocessor uses control bus to process data, that is what to do with the selected memory location. • Various operations are performed by microprocessor with the help of control bus. • This is a dedicated bus, because all timing signals are generated according to control signal • Some control signals are Read, Write and Opcode fetch etc.
  • 15.
  • 16. SYSTEM DESIGN USING 8086 The system design starts with specifications. The specification of the system includes the following: • I/O devices • Memory requirement • System clock frequency • Peripheral devices required • Application
  • 17. I/O devices • The popular input device used in single board microcomputer system is 8279 – keyboard and display controller. The popular output devices are, • LED display • LCD • Printer • Floppy disk / CD • CRT terminal • Intel 8279 is used for LED display. The LCD and printer are interfaced using ports. Intel 8272 or 82072 floppy disk controller and Intel 8275 CRT controller are popularly used in 8086 system.
  • 18. Memory requirement • The memory of the system is splitted between EPROM and RAM. The memory capacity of EPROM and RAM are estimated based on the applications and work to be performed. • The popular EPROM used in 8086 based system are 2708 (1K x 8), 2716 (2K x 8), 2732 (4K x 8), 2764 (8K x 8) and 27256 (32K x 8). • The popular static RAM used in 8086 based system are 6208 (1K x 8), 6216 (2K x 8), 6232 (4K x 8), 6264 (8K x 8) and 62256 (32 K x 8).
  • 19. System clock frequency • The 8086 does not have an internal clock circuit. Hence clock has to be supplied from an external device. • The Intel 8284 clock generator is employed to generate the clock. An external quartz crystal has to be connected to 8284 to generate the clock signal. • The frequency of quartz crystal should be thrice the internal clock frequency of 8086.
  • 20. Peripheral devices • The peripheral devices required for a system depends on its applications. Some of the peripheral devices that can be interfaced to 8086 based system are, • Intel 8253 - Programmable Interval Timer • Intel 8251 - USART • Intel 8255 - Programmable Peripheral Interface • Intel 8279 - Keyboard / Display controller • Intel 8257 - DMA controller • ADC, DAC etc. Application • The specifications of the microprocessor itself depends on the applications for the proposed system and the nature of work. The I/O device, memory, peripheral device are all depends on the nature of work to be performed by the system.
  • 21. MIN-MAX MODE OF OPERATION • When only 8086 microprocessor is to be used in a microcomputer system, the 8086 is used in the minimum mode of operation. In this mode, the microprocessor issues the control signals required by memory or I/O devices. • In a multiprocessor system it operates in the maximum mode. In this mode, the control signals are issued by Intel 8288 bus controller. • The pin MN/ MX (33) decides the operating mode of 8086. • When MN/ MX = 0, maximum mode of operation. = 1, minimum mode of operation. • Pins 24 to 31 have different functions for minimum mode and maximum mode.
  • 22. Minimum Mode • For minimum mode of operation MN/ MX is connected to VCC (+5 volts). • Pins 24 to 31 have the following functions: Transceivers (8286) – 2 numbers Clock generator (8284) Memory or I/O devices.
  • 23. • Latches are used for demultiplexing and these latches are enabled by using the ALE signal. 3 numbers of latches (Intel 8282/8283) are used as address latches. • The signal DEN is used as an output enable signal. • The signal DT/ R is used as direction control. • The clock generator (Intel 8284) does the following functions: Clock generation RESET synchronization READY synchronization Peripheral clock generation • HOLD and HLDA signals are used to interface other bus masters like DMA controller. • INTA (Interrupt Acknowledge) signal is issued by the microprocessor on receiving any interrupt signal.
  • 24.
  • 25.
  • 26.
  • 27. Maximum Mode • For maximum mode of operation MN/ MX pin is grounded.
  • 28. Status signal S2 S1 S0 FUNCTION 0 0 0 INTEREUPT ACK 0 0 1 I/O READ 0 1 0 I/O WRITE 0 1 1 HLT 1 0 0 OPCODE FETCH 1 0 1 MEMORY READ 1 1 0 MEMORY WRITE 1 1 1 PASSIVE
  • 29. Maximum Mode – Read Cycle
  • 30. Maximum Mode – Write Cycle
  • 31. I/OPROGRAMMING • I/O programming discuss the ways in which information can be transferred between input- output devices or mass storage devices and the CPU or memory. The three modes of transfer of device data, commands and status are, 1.Programmed I/O 2.Interrupt driven I/O 3.DMA Transfer
  • 32. • Programmed I/O : The program determines which interfaces need servicing bit testing the ready bits in their status registers. Programmed testing of ready bits or signals is known as polling. • Interrupt driven I/O: An external interrupt is sent to the CPU from the interface when the interface has data to input or is ready to accept data and the I/O operation is performed by an interrupt routine. • DMA transfer: The interface requests the use of the bus by sending a signal through the control line and makes the necessary transfer without the help of the CPU.
  • 33. PROGRAMMED I /O Read input in programmed I/O mode Programmed I/O consists of continually examining the status of an interface and performing an I/O operation with the interface when its status indicates that it has data to be input or its data- out buffer register is ready to receive data from the CPU.
  • 34. Output write in programmed I/O mode
  • 35. Interrupt driven I /O • There are several ways of combining with interrupt I/O, some involving only software, some only hardware, and some a combination of the two. They are, i) Polling ii) Daisy chaining iii) Interrupt priority management hardware
  • 36. Polling Polling is the most common and simplest method of I/O control. It requires no special hardware and all I/O transfers are controlled by the CPU program. Polling is a synchronous mechanism, by which devices are serviced in sequential order. The polling technique has the following limitations: • It is wasteful of the processors time, as it needlessly checks the status of all devices all the time. • It is inherently slow • When fast devices are connected to a system, polling may simply not be fast enough to satisfy the minimum service requirements
  • 37. Daisy chaining • It is a simple hardware means of attaining a priority scheme. It consists of associating a logic circuit with each interface and passing the interrupt acknowledge signal through these circuits as shown in Fig. • The priority of an interface is determined by its position on the daisy chain. The closer it is to the CPU the higher its priority. • This is significantly faster than a pure software approach. A daisy chain is used to identify the device requesting service.
  • 38. • Because more than one device can assert the shared interrupt line simultaneously, some method must be employed to ensure device priority. • This is done using the interrupt acknowledge signal generated by the processor in response to an interrupt request. • Each device is connected to the same interrupt request line, but the interrupt acknowledge line is passed through each device, from the highest priority device first, to the lowest priority device last. • After preserving the required registers, the microprocessor generates an interrupt acknowledge signal. This is gated through each device. • If device 1 generated the interrupt, it will place its identification signal on the data bus, which is read by the processor, and used to generate the address of the interrupt- service routine. • If device 1 did not request the servicing, it will pass the interrupt acknowledge signal on to the next device in the chain. Device 2 follows the same procedure, and so on.
  • 40. Interrupt priority management hardware • A more flexible hardware priority arrangement can be held by designing a programmable interrupt priority management circuit and including it in the bus control logic. • This is the fastest system. The duty is placed on the requesting device to request the interrupt, and identify itself. The identity could be a branching address for the desired interrupt-handling routine. • If the device just supplies an identification number, this can be used in conjunction with a lookup table to determine the address of the required service routine. Response time is best when the device requesting service also supplies a branching address.
  • 41. Direct Memory Access Block Transfer • A DMA controller allows devices to transfer data to or from the system’s memory without the intervention of the processor. • During any given bus cycle, one of the system components connected to the system bus is given control of the bus. • Taking control of the bus for a bus cycle is called cycle stealing.
  • 42.
  • 43. MULTIPROGRAMMING • Multiprogramming can execute several jobs concurrently by switching the attention of the CPU back and forth among them. • This switching is usually prompted by a relative slow input, output storage request that can be handled by a buffer, spooler or channel freeing the CPU to continue processing. • The code for two or more processes is in memory at the same time and is executed in a time-multiplexed fashion in multiprogramming. • Multiprogramming enable the CPU to be utilized more efficiently. If the operating system can quickly switch the CPU to another task whenever the being worked in requires relatively slow input, output or storage operations, then CPU is not allowed to stand idle.
  • 44. Advantages of multiprogramming • It increases CPU utilization. • It decreases total read time needed to execute a job. • It maximizes the total job throughout of a computer. Disadvantages of multiprogramming • It is fairly sophisticated and more complex.
  • 45.
  • 47. MULTIPROCESSOR CONFIGURATIONS • A multiprocessor system will have two or more processors that can execute instructions or perform operations simultaneously. Need for Multiprocessor Systems • Due to limited data width and lack of floating point arithmetic instructions, 8086 requires many instructions for computing even single floating point operation. For this Numeric Data Processor (8087), can help 8086 processor. • Some processor like DMA controllers can help 8086 with low level operations, while the CPU can take care of the high level operations.
  • 48. Advantages • It is easy to add more processor for expansion as per requirement. • When a failure occurs, it is easier to replace the faulty processor. • In a multiprocessor system implementation of modular processing of task can be achieved. Basic Multiprocessor Configurations • Co processor configuration • Closely coupled configuration • Loosely coupled configuration
  • 50. CLOSELY COUPLED CONFIGURATION • Coprocessor and closely coupled configurations are similar in that both the 8086 and the external processor (8089) share : • Memory • I/O system • Bus and Bus control logic • Clock generator
  • 51.
  • 52.
  • 53. LOOSELY COUPLED CONFIGURATION • In loosely coupled configuration a number of modules of 8086 can be interfaced through a common system bus to work as a multiprocessor system. Each module in the loosely coupled configuration is an independent microprocessor based system with its own clock source, and its own memory and I/O devices interfaced through a local bus. Advantages • Better system throughput by having more than one processor. • The system can be expanded in modular form. Each processor is an independent unit and normally on a separate PC board. One can be added or removed without affecting the others in the system. • A failure in one module normally does not affect the breakdown of the entire system and faulty module can be easily detected and replaced.
  • 54.
  • 55. Bus allocation schemes: • Daisy chaining • Polling method • Independent Priority
  • 60. Protected mode operation of x86 family
  • 61. Pentium Processors • The Pentium family of processors originated from the 80486 microprocessor. • The first Pentium processors were introduced in 1993. • It runs at a clock frequency of either 60 or 66 MHz and has 3.1 million transistors. The features of Pentium architecture are • Improved instruction execution time • Bus cycle pipelining • Address parity . • Internal parity checking • Functional redundancy checking • Execution tracing • Performance monitoring • System management mode • Virtual mode extensions
  • 62. The important features of Pentium architecture are • Wider (64-bit) Data Bus • Superscalar Architecture • Dynamic Branch Prediction Logic • Enhanced Floating Point Unit • Dedicated Instruction and Data Cache • Write-Back MESI Protocol in Data Cache
  • 64. The Pentium processor has two primary operating modes • Protected Mode • Real-Address Mode The five stages of Pentium’s basic integer pipeline are, • Pre-fetch/Fetch : Instructions are fetched from the instruction cache and aligned in pre-fetch buffers for decoding. • Decode1 : Instructions are decoded into the Pentium's internal instruction format. Branch prediction also takes place at this stage. • Decode2 : Same as above, and microcode ROM kicks in here, if necessary. Also, address computations take place at this stage. • Execute : The integer hardware executes the instruction. • Write-back : The results of the computation are written back to the register file.
  • 65.
  • 66. 64-bit processors in personal computers • In 1990, IBM introduced microprocessor based on POWER architecture with UNIX operating system. • PowerPC was second generation POWER architecture. It has RISC architecture. • Design features of PowerPC are as follows. Design features of PowerPC are as follows. • Broad range implementation • Simple processor design • Superscalar architecture • Multiprocessor features • 64-bit architecture • PowerPC can switch from one mode to another at run time. • Separate set of floating point instructions for • Separate set of Floating Point Registers for floating-point instructions