SlideShare a Scribd company logo
MICROPROCESSOR (8086)
BY
M.PADMALATHA
Associate Professor
8086 FEATURES
 It is a 16 bit μp.
 It is manufactured with H-MOS technology.
 8086 has a 20 bit address bus can access up to 220 memory
locations ( 1 MB) .
 It has multiplexed address and data bus AD0- AD15 and A16 –
A19.
 It provides fourteen 16-bit registers.
 8086 is designed to operate in two modes, Minimum(single
processor) and Maximum(multi processor).
 It can pre fetches up to 6 instruction bytes from memory and
queues them in order to speed up instruction execution.
 It can support upto 64K I/O ports.
 It requires a +5V power supply
 It is enclosed with 40 pins DIP (dual in line package).
 8086 has two blocks BIU and EU
 BIU contains Instruction queue, Segment
registers,Instruction pointer, Address adder.
 EU contains Control circuitry, Instruction decoder,
ALU,Pointer and Index register, Flag register.
 The BIU performs all bus operations such as instruction
fetching, reading and writing operands for memory and
calculating the addresses of the memory operands.
 EU executes instructions from the instruction system byte
queue.
INSTRUCTION QUEUE
 To increase the execution speed, BIU fetches as many
as six instruction bytes ahead of time from memory.
 All six bytes are arranged in first in first out structure in a
6 byte register called instruction queue.
 The instructions from the queue are taken sequentially
for decoding.
 This pre fetching operation of BIU may be in parallel
with execution operation of EU, which improves the
speed execution of the instruction.
 While opcode is fetched by BIU, the EU executes
previously decoded instruction concurrently. Thus BIU
along with EU forms a pipeline.
PHYSICAL ADDRESS FORMATION
 Segment address: 1005 H
 Offset address : 5555 H
Segment address: 1005 H: 0001 0000 0000 0101
Shifted left by 4 bit po’s :0001 0000 0000 0101 0000
+
Offset address : 0101 0101 0101 0101
Physical address :0001 0101 0101 1010 0101
1 5 5 A 5 H
 Physical address= 10H* Segment address+ Offset
address
EXECUTION UNIT (EU)
 It has 16 bit ALU, able to perform all arithmetic and
logical operations.
 The 16-bit flag register reflects the results of execution
by ALU.
 The decoding unit decodes the opcode bytes.
 The timing and control unit derives the necessary
control signals to execute the instruction.
REGISTER ORGANIZATION
GENERAL PURPOSE REGISTERS
 AX: used as 16-bit accumulator, with the lower 8-
bits of AX designated as AL and higher 8-bits as
AH.
 BX: used as offset storage for forming physical
addresses in case of certain addressing modes.
 CX: used as a default counter in case of string and
loop instructions.
 DX: used as an implicit operand or destination in
case of a few instructions.
used to hold data for MUL & DIV operations
SEGMENT REGISTERS
 Code Segment (CS): The CS register is used for
addressing a memory location in the Code Segment of
the memory, where the executable program is stored.
 Data Segment (DS): The DS register is used for
addressing the Data Segment of the memory, where
the data is stored.
 Stack Segment (SS): The SS register is used for
addressing the Stack Segment of the memory, i.e. the
memory which is used to store stack data.
 Extra Segment (ES): ES is additional data segment.
The ES register is used for addressing the Extra
Segment of the memory, where the data is stored.
POINTERS AND INDEX REGISTERS
 The pointers stores offset addresses within the particular
segments
IP code segment
BP data segment
SP stack segment
o Source Index (SI): It is used for storing offset address of
source data in data segment. It is also used for indexed,
based indexed and register indirect addressing modes.
 Destination Index (DI): It is used for storing offset address of
destination data in data or extra segment. It is also used for
indexed, based indexed and register indirect addressing
modes.
FLAG REGISTER
STATUS/CONDITIONAL CODE FLAGS
 SF :sign flag is set when the result of
operation is negative.
 ZF: zero flag is set when the result of
operation is zero.
 AF: auxiliary carry flag is set when there is a
carry from lower nibble or lower four bits of
the operation.
 PF: parity flag is set if the result has even
no.of ones in the lower byte.
 CF: carry flag is set when there is a carry
from the result.
 OF:over flow flag is set when the result of
signed operation overflows into the sign bit.
CONTROL FLAGS
 TF: When trap flag is set, the processor enters
into single step execution mode . i.e. It executes
the program instruction by instruction.
 IF: It is an interrupt enable/disable flag. If it is
set, the maskable interrupts are recognized by
the processor otherwise they are ignored.
 DF:It is used in string operation.
If it is set, string bytes are accessed from
higher memory address to lower memory
address. i.e. auto decrementing mode.
When it is reset, the string bytes are accessed
from lower memory address to higher memory
address. i.e. auto incrementing mode.
MEMORY SEGMENTATION
 The size of address bus of8086 is 20 and is able to
address 1 Mbytes (220 ) of physical memory.
 The compete 1 Mbytes memory can be divided into 16
segments, each of 64 Kbytes size and is addressed by
one of the segment registers.
 The addresses of the segment may be assigned as
0000H to F000H respectively.
 An offset address is used to address a specific memory
location within the segment.
 The offset address values are from 0000H to FFFF H so
that the physical addresses range from 00000H to
FFFFF H.
NON OVERLAPPING SEGMENTS
OVERLAPPING SEGMENTS
ADVANTAGES
 Allows the memory capacity to be 1MB although the
actual addresses to be handled are of 16 bit size.
 Allows the placing of code, data and stack portions of
the same program in different parts of memory for
protection.
PIN DIAGRAM
 AD15-AD0 : These are the time multiplexed memory I/O
address and data lines. Address remains on the lines
during T1 state, while the data is available on the data bus
during T2, T3, Tw and T4.
 When the memory or I/O device is not able to respond
quickly during transfer, wait states (Tw) are inserted
between T3 and T4 by disabling the READY input of the
8086. The bus activity during wait state is same as during
T3.
 A19/S6,A18/S5,A17/S4,A16/S3 : These are the time
multiplexed address and status lines.
 The S4 and S3 combinely indicate which segment register is
presently being used for memory accesses .
 The status of interrupt enable flag bit is updated at the beginning of
each clock cycle and it is displayed on S5
 The status line s6 is always low.
 BHE/S7 : The bus high enable is used to indicate the
transfer of data over the higher order ( D15-D8 ) data bus
.
 BHE is low during T1 for read, write and interrupt
acknowledge cycles, whenever a byte is to be transferred
on higher byte of data bus.
 BHE and A0 indicates which byte of data is transferring.
 RD – Read : This signal on low indicates the peripheral
that the processor is performing memory or I/O read
operation.
 READY : This is the acknowledgement from the slow
device or memory that they have completed the data
transfer.
 INTR-Interrupt Request : This is a level triggered input.
This is sampled during the last clock cycle of each
instruction to determine the availability of the request. If
any interrupt request is pending, the processor enters
the interrupt acknowledge cycle.
 TEST : This input is examined by a ‘WAIT’ instruction. If
the TEST pin goes low, execution will continue, else the
processor remains in wait state.
 CLK- Clock Input : The clock input provides the basic
timing for processor operation and bus control activity.
Its an square wave.
 NMI: An edge triggered input, causes a type-2 interrupt.
NMI is not maskable internally by software. A transition
from a LOW to HIGH on this pin initiates the interrupt at
the end of the current instruction.
 Reset: Reset causes the processor to terminate the
present activity and start execution from FFFF0H. This
signal is active high and must be active for at least four
clock cycles.
 MN/MX = 1 for minimum mode
= 0 for maximum mode
 When the Minimum mode operation is selected, the
8086
provides all control signals needed to implement the
memory and I/O interface.
 M/IO = 1 for memory operation
= 0 for I/O operation
 INTA: Interrupt Acknowledge. It goes low, when the
processor has accepted the interrupt. It is active LOW
during T2, T3, and T4 of each interrupt acknowledge
cycle.
 DT/ R :DATA Transmit/Receive
DT/ R = 1 when the processor transmits data
 = 0 when the processor receives data
 ALE : Address Latch Enable
It indicates the availability of valid address over the
address/data lines. It is used to enable the latches to
separate the address from the multiplexed address/data
signal.
 DEN :Data Enable
 It indicates the availability of valid data over the
address/data lines. It is used to enable the transceivers
to separate the data from the multiplexed address/data
signal.
 HOLD & HLDA: When the HOLD line goes high, it
indicates that another master is requesting the bus
access. After receiving the HOLD request, it issues HLDA
signal in the middle of next clock cycle .
 If a DMA request is made while cpu executing a program,
it will release the bus during T4 provided
 1.the request occur on or before T2 of current cycle
 2.the current cycle is not operating over the lower byte of
a word.
 3.a Lock instruction is not being executed.
 When the 8086 is set for the maximum-mode operation, it
provides signals for implementing a multiprocessor /
coprocessor system environment.
 S2, S1, S0 : these status lines indicate the type of
operation being carried out by the processor.
 These pins are active during T4, T1 and T2 states and is
returned to passive state during T3 or Tw (when ready is
inactive).
 QS0, QS1 : Queue – Status
these lines give information about the status of instruction
byte queue.
 LOCK : it indicates that other system bus master will be
prevented from gaining the system bus.
 RQ/GT0 and RQ/GT1 (I/O): Request/Grant
These pins are used by other processors in a multi
processor organization to force the processor to release the
Local bus at the end of current cycle.

PHYSICAL MEMORY ORGANIZATION
 In 8086 the 1MB physical memory is organized as odd
and even banks, each of 512KB.
 A byte data with even address is transferred on D0-D7,
while byte data with odd address is transferred on D8-
D15.
 The processor provides BHE and A0 for the selection of
either odd or even or both the banks.
 The memory map of 8086 system starts at 00000H to
FFFFFH.
 The locations from FFFF0H to FFFFFH are reserved for
operations including jump to initialization program and
I/O processor initialization .
 The locations 00000H to 003FFH are reserved for
interrupt vector table.
INTERRUPTS
 While CPU is executing a program, an interrupt break the normal
sequence of execution of instructions,diverts its execution to some
other program called Interrupt Service Routine(ISR).
 After executing ISR ,the control is transferred back again to the
main program.
 Whenever a no.of devices interrupt a CPU at a time and if the
processor is able to handle them properly,it is said to have multiple
interrupt processing capability.
 8086 has two interrupt pins NMI and INTR.
 NMI :Non Maskable Interrupt
 Any interrupt at NMI cannot be masked or disabled.
 INTR interrupt may be masked using Interrupt Flag. INTR is of 256
types.
 The INTR types may be from 00 to FF H. If more than one type of
INTR interrupt occurs at a time,then an external chip called
Programmable Interrupt Controller is required to handle them.

TYPES OF INTERRUPTS
 External interrupt: due to an external device or a
signal interrupts the processor.
 ex: keyboard interrupt
 Internal interrupt: generated internally by the
processor circuit or by execution of an interrupt
instruction.
 Ex: divide by 0, overflow interrupts and interrupts
due to INT instructions.
INTERRUPT CYCLE OF 8086
 When an external device interrupts the CPU at NMI or INTR
pin, while executing a program
 The CPU first completes the execution of current instruction
and IP is incremented to point the next instruction.
 The contents of IP and CS are pushed to stack.
 The CPU then only acknowledges the requesting device
immediately on INTA if it is a NMI,TRAP or divide by 0.
 If it is INTR request, the CPU checks the IF flag.
 If IF flag is set then it acknowledges the device otherwise the
interrupt is ignored.
 After acknowledgement the CPU computes the vector
address from the type of interrupt. Then the control is
transferred to ISR for serving the interrupt device.
 The ISR address is available in Interrupt Vector Table.
 At the end of ISR last instruction should be IRET.
INTERRUPT VECTOR TABLE
INTERRUPT RESPONSE SEQUENCE
NESTED INTERRUPTS

More Related Content

What's hot

Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
Diponkor Bala
 
8086 modes
8086 modes8086 modes
8086 modes
PDFSHARE
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
Deepak John
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
harikrishna parikh
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar
Nitish Nagar
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
Ramesh Dabhole
 
8086
80868086
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
Muthusamy Arumugam
 
Viva
VivaViva
Chapter5
Chapter5Chapter5
Chapter5
Bisrat Girma
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
Kumar Anand Singh
 
8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpoint
Randhir Kumar
 
Pin8086
Pin8086Pin8086
Pin8086
Mohansonale1
 
Module 2 instruction set
Module 2 instruction set Module 2 instruction set
Module 2 instruction set
Deepak John
 
MICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONSMICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONS
George Thomas
 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
Nikhil Kumar
 
Microprocessors 1-8086
Microprocessors 1-8086Microprocessors 1-8086
Microprocessors 1-8086
Shubham Chaurasia
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
Vijay Kumar
 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processor
Fazle Akash
 

What's hot (20)

Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
8086 modes
8086 modes8086 modes
8086 modes
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
 
8086
80868086
8086
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
Viva
VivaViva
Viva
 
Chapter5
Chapter5Chapter5
Chapter5
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpoint
 
Pin8086
Pin8086Pin8086
Pin8086
 
Module 2 instruction set
Module 2 instruction set Module 2 instruction set
Module 2 instruction set
 
MICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONSMICROPROCESSOR INPUT OUTPUT OPERATIONS
MICROPROCESSOR INPUT OUTPUT OPERATIONS
 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
 
Microprocessors 1-8086
Microprocessors 1-8086Microprocessors 1-8086
Microprocessors 1-8086
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processor
 

Similar to Mpmc

unit 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
ssuserdd904d
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Waleed Khan
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Aanjaney Singh Chauhan
 
mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in ppt
xboyxman1000
 
Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptx
melaku76
 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuits
Manasa Mona
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture
Saurabh Jain
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
ssuserd21262
 
3 L pin diagram.pptx
3 L pin diagram.pptx3 L pin diagram.pptx
3 L pin diagram.pptx
Poonamarora73
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Ravi Anand
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
Sagar Kuntumal
 
8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt
Madhan7771
 
8086 – CPU –Pin Diagram.pptx
8086 – CPU –Pin Diagram.pptx8086 – CPU –Pin Diagram.pptx
8086 – CPU –Pin Diagram.pptx
5G8Rajendra
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
Mohansonale1
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
8086 micro processor
8086 micro processor8086 micro processor
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
parsh33
 
Pin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptxPin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptx
YashArya40
 

Similar to Mpmc (20)

unit 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in ppt
 
Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptx
 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuits
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
 
3 L pin diagram.pptx
3 L pin diagram.pptx3 L pin diagram.pptx
3 L pin diagram.pptx
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
 
8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt
 
8086 – CPU –Pin Diagram.pptx
8086 – CPU –Pin Diagram.pptx8086 – CPU –Pin Diagram.pptx
8086 – CPU –Pin Diagram.pptx
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
 
Pin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptxPin Diagram and block diagram 8085 .pptx
Pin Diagram and block diagram 8085 .pptx
 

Recently uploaded

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 

Recently uploaded (20)

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 

Mpmc

  • 2. 8086 FEATURES  It is a 16 bit μp.  It is manufactured with H-MOS technology.  8086 has a 20 bit address bus can access up to 220 memory locations ( 1 MB) .  It has multiplexed address and data bus AD0- AD15 and A16 – A19.  It provides fourteen 16-bit registers.  8086 is designed to operate in two modes, Minimum(single processor) and Maximum(multi processor).  It can pre fetches up to 6 instruction bytes from memory and queues them in order to speed up instruction execution.  It can support upto 64K I/O ports.  It requires a +5V power supply  It is enclosed with 40 pins DIP (dual in line package).
  • 3.
  • 4.  8086 has two blocks BIU and EU  BIU contains Instruction queue, Segment registers,Instruction pointer, Address adder.  EU contains Control circuitry, Instruction decoder, ALU,Pointer and Index register, Flag register.  The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating the addresses of the memory operands.  EU executes instructions from the instruction system byte queue.
  • 5. INSTRUCTION QUEUE  To increase the execution speed, BIU fetches as many as six instruction bytes ahead of time from memory.  All six bytes are arranged in first in first out structure in a 6 byte register called instruction queue.  The instructions from the queue are taken sequentially for decoding.  This pre fetching operation of BIU may be in parallel with execution operation of EU, which improves the speed execution of the instruction.  While opcode is fetched by BIU, the EU executes previously decoded instruction concurrently. Thus BIU along with EU forms a pipeline.
  • 6. PHYSICAL ADDRESS FORMATION  Segment address: 1005 H  Offset address : 5555 H Segment address: 1005 H: 0001 0000 0000 0101 Shifted left by 4 bit po’s :0001 0000 0000 0101 0000 + Offset address : 0101 0101 0101 0101 Physical address :0001 0101 0101 1010 0101 1 5 5 A 5 H  Physical address= 10H* Segment address+ Offset address
  • 7. EXECUTION UNIT (EU)  It has 16 bit ALU, able to perform all arithmetic and logical operations.  The 16-bit flag register reflects the results of execution by ALU.  The decoding unit decodes the opcode bytes.  The timing and control unit derives the necessary control signals to execute the instruction.
  • 9. GENERAL PURPOSE REGISTERS  AX: used as 16-bit accumulator, with the lower 8- bits of AX designated as AL and higher 8-bits as AH.  BX: used as offset storage for forming physical addresses in case of certain addressing modes.  CX: used as a default counter in case of string and loop instructions.  DX: used as an implicit operand or destination in case of a few instructions. used to hold data for MUL & DIV operations
  • 10. SEGMENT REGISTERS  Code Segment (CS): The CS register is used for addressing a memory location in the Code Segment of the memory, where the executable program is stored.  Data Segment (DS): The DS register is used for addressing the Data Segment of the memory, where the data is stored.  Stack Segment (SS): The SS register is used for addressing the Stack Segment of the memory, i.e. the memory which is used to store stack data.  Extra Segment (ES): ES is additional data segment. The ES register is used for addressing the Extra Segment of the memory, where the data is stored.
  • 11. POINTERS AND INDEX REGISTERS  The pointers stores offset addresses within the particular segments IP code segment BP data segment SP stack segment o Source Index (SI): It is used for storing offset address of source data in data segment. It is also used for indexed, based indexed and register indirect addressing modes.  Destination Index (DI): It is used for storing offset address of destination data in data or extra segment. It is also used for indexed, based indexed and register indirect addressing modes.
  • 13.
  • 14. STATUS/CONDITIONAL CODE FLAGS  SF :sign flag is set when the result of operation is negative.  ZF: zero flag is set when the result of operation is zero.  AF: auxiliary carry flag is set when there is a carry from lower nibble or lower four bits of the operation.  PF: parity flag is set if the result has even no.of ones in the lower byte.  CF: carry flag is set when there is a carry from the result.  OF:over flow flag is set when the result of signed operation overflows into the sign bit.
  • 15. CONTROL FLAGS  TF: When trap flag is set, the processor enters into single step execution mode . i.e. It executes the program instruction by instruction.  IF: It is an interrupt enable/disable flag. If it is set, the maskable interrupts are recognized by the processor otherwise they are ignored.  DF:It is used in string operation. If it is set, string bytes are accessed from higher memory address to lower memory address. i.e. auto decrementing mode. When it is reset, the string bytes are accessed from lower memory address to higher memory address. i.e. auto incrementing mode.
  • 16. MEMORY SEGMENTATION  The size of address bus of8086 is 20 and is able to address 1 Mbytes (220 ) of physical memory.  The compete 1 Mbytes memory can be divided into 16 segments, each of 64 Kbytes size and is addressed by one of the segment registers.  The addresses of the segment may be assigned as 0000H to F000H respectively.  An offset address is used to address a specific memory location within the segment.  The offset address values are from 0000H to FFFF H so that the physical addresses range from 00000H to FFFFF H.
  • 19. ADVANTAGES  Allows the memory capacity to be 1MB although the actual addresses to be handled are of 16 bit size.  Allows the placing of code, data and stack portions of the same program in different parts of memory for protection.
  • 21.  AD15-AD0 : These are the time multiplexed memory I/O address and data lines. Address remains on the lines during T1 state, while the data is available on the data bus during T2, T3, Tw and T4.  When the memory or I/O device is not able to respond quickly during transfer, wait states (Tw) are inserted between T3 and T4 by disabling the READY input of the 8086. The bus activity during wait state is same as during T3.  A19/S6,A18/S5,A17/S4,A16/S3 : These are the time multiplexed address and status lines.
  • 22.  The S4 and S3 combinely indicate which segment register is presently being used for memory accesses .  The status of interrupt enable flag bit is updated at the beginning of each clock cycle and it is displayed on S5  The status line s6 is always low.
  • 23.  BHE/S7 : The bus high enable is used to indicate the transfer of data over the higher order ( D15-D8 ) data bus .  BHE is low during T1 for read, write and interrupt acknowledge cycles, whenever a byte is to be transferred on higher byte of data bus.  BHE and A0 indicates which byte of data is transferring.
  • 24.  RD – Read : This signal on low indicates the peripheral that the processor is performing memory or I/O read operation.  READY : This is the acknowledgement from the slow device or memory that they have completed the data transfer.  INTR-Interrupt Request : This is a level triggered input. This is sampled during the last clock cycle of each instruction to determine the availability of the request. If any interrupt request is pending, the processor enters the interrupt acknowledge cycle.  TEST : This input is examined by a ‘WAIT’ instruction. If the TEST pin goes low, execution will continue, else the processor remains in wait state.
  • 25.  CLK- Clock Input : The clock input provides the basic timing for processor operation and bus control activity. Its an square wave.  NMI: An edge triggered input, causes a type-2 interrupt. NMI is not maskable internally by software. A transition from a LOW to HIGH on this pin initiates the interrupt at the end of the current instruction.  Reset: Reset causes the processor to terminate the present activity and start execution from FFFF0H. This signal is active high and must be active for at least four clock cycles.  MN/MX = 1 for minimum mode = 0 for maximum mode
  • 26.  When the Minimum mode operation is selected, the 8086 provides all control signals needed to implement the memory and I/O interface.  M/IO = 1 for memory operation = 0 for I/O operation  INTA: Interrupt Acknowledge. It goes low, when the processor has accepted the interrupt. It is active LOW during T2, T3, and T4 of each interrupt acknowledge cycle.  DT/ R :DATA Transmit/Receive DT/ R = 1 when the processor transmits data  = 0 when the processor receives data
  • 27.  ALE : Address Latch Enable It indicates the availability of valid address over the address/data lines. It is used to enable the latches to separate the address from the multiplexed address/data signal.
  • 28.  DEN :Data Enable  It indicates the availability of valid data over the address/data lines. It is used to enable the transceivers to separate the data from the multiplexed address/data signal.
  • 29.  HOLD & HLDA: When the HOLD line goes high, it indicates that another master is requesting the bus access. After receiving the HOLD request, it issues HLDA signal in the middle of next clock cycle .  If a DMA request is made while cpu executing a program, it will release the bus during T4 provided  1.the request occur on or before T2 of current cycle  2.the current cycle is not operating over the lower byte of a word.  3.a Lock instruction is not being executed.
  • 30.  When the 8086 is set for the maximum-mode operation, it provides signals for implementing a multiprocessor / coprocessor system environment.  S2, S1, S0 : these status lines indicate the type of operation being carried out by the processor.  These pins are active during T4, T1 and T2 states and is returned to passive state during T3 or Tw (when ready is inactive).
  • 31.  QS0, QS1 : Queue – Status these lines give information about the status of instruction byte queue.
  • 32.  LOCK : it indicates that other system bus master will be prevented from gaining the system bus.  RQ/GT0 and RQ/GT1 (I/O): Request/Grant These pins are used by other processors in a multi processor organization to force the processor to release the Local bus at the end of current cycle. 
  • 33. PHYSICAL MEMORY ORGANIZATION  In 8086 the 1MB physical memory is organized as odd and even banks, each of 512KB.  A byte data with even address is transferred on D0-D7, while byte data with odd address is transferred on D8- D15.  The processor provides BHE and A0 for the selection of either odd or even or both the banks.  The memory map of 8086 system starts at 00000H to FFFFFH.
  • 34.
  • 35.  The locations from FFFF0H to FFFFFH are reserved for operations including jump to initialization program and I/O processor initialization .  The locations 00000H to 003FFH are reserved for interrupt vector table.
  • 36. INTERRUPTS  While CPU is executing a program, an interrupt break the normal sequence of execution of instructions,diverts its execution to some other program called Interrupt Service Routine(ISR).  After executing ISR ,the control is transferred back again to the main program.  Whenever a no.of devices interrupt a CPU at a time and if the processor is able to handle them properly,it is said to have multiple interrupt processing capability.  8086 has two interrupt pins NMI and INTR.  NMI :Non Maskable Interrupt  Any interrupt at NMI cannot be masked or disabled.  INTR interrupt may be masked using Interrupt Flag. INTR is of 256 types.  The INTR types may be from 00 to FF H. If more than one type of INTR interrupt occurs at a time,then an external chip called Programmable Interrupt Controller is required to handle them. 
  • 37. TYPES OF INTERRUPTS  External interrupt: due to an external device or a signal interrupts the processor.  ex: keyboard interrupt  Internal interrupt: generated internally by the processor circuit or by execution of an interrupt instruction.  Ex: divide by 0, overflow interrupts and interrupts due to INT instructions.
  • 38. INTERRUPT CYCLE OF 8086  When an external device interrupts the CPU at NMI or INTR pin, while executing a program  The CPU first completes the execution of current instruction and IP is incremented to point the next instruction.  The contents of IP and CS are pushed to stack.  The CPU then only acknowledges the requesting device immediately on INTA if it is a NMI,TRAP or divide by 0.  If it is INTR request, the CPU checks the IF flag.  If IF flag is set then it acknowledges the device otherwise the interrupt is ignored.  After acknowledgement the CPU computes the vector address from the type of interrupt. Then the control is transferred to ISR for serving the interrupt device.  The ISR address is available in Interrupt Vector Table.  At the end of ISR last instruction should be IRET.
  • 41.