SlideShare a Scribd company logo
Dr. Vikas Mahor
Lecture-3
Architecture and Pin
Configuration of 8086
Architecture
Execution Unit (EU)
EU executes instructions that have
already been fetched by the BIU.
BIU and EU functions separately.
Bus Interface Unit (BIU)
BIU fetches instructions, reads data
from memory and I/O ports, writes
data to memory and I/ O ports.
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Dedicated Adder to generate
20 bit address
Four 16-bit segment
registers
Code Segment (CS)
Data Segment (DS)
Stack Segment (SS)
Extra Segment (ES)
Segment Registers >>
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Segment
Registers
Code Segment Register
16-bit
CS contains the base or start of the current code segment; IP contains the
distance or offset from this address to the next instruction byte to be fetched.
BIU computes the 20-bit physical address by logically shifting the contents of CS
4-bits to the left and then adding the 16-bit contents of IP.
That is, all instructions of a program are relative to the contents of the CS
register multiplied by 16 and then offset is added provided by the IP.
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Segment
Registers
Data Segment Register
16-bit
Points to the current data segment; operands for most instructions are fetched
from this segment.
The 16-bit contents of the Source Index (SI) or Destination Index (DI) or a 16-bit
displacement are used as offset for computing the 20-bit physical address.
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Segment
Registers
Stack Segment Register
16-bit
Points to the current stack.
The 20-bit physical stack address is calculated from the Stack Segment (SS) and
the Stack Pointer (SP) for stack instructions such as PUSH and POP.
In based addressing mode, the 20-bit physical stack address is calculated from
the Stack segment (SS) and the Base Pointer (BP).
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Segment
Registers
Extra Segment Register
16-bit
Points to the extra segment in which data (in excess of 64K pointed to by the DS)
is stored.
String instructions use the ES and DI to determine the 20-bit physical address for
the destination.
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
Segment
Registers
Instruction Pointer
16-bit
Always points to the next instruction to be executed within
the currently executing code segment.
So, this register contains the 16-bit offset address pointing
to the next instruction code within the 64Kb of the code
segment area.
Its content is automatically incremented as the execution
of the next instruction takes place.
8086 microprocessor
Architecture
Bus Interface Unit (BIU)
A group of First-In-First-Out (FIFO)
in which up to 6 bytes of
instruction code are pre fetched
from the memory ahead of time.
This is done in order to speed up
the execution by overlapping
instruction fetch with execution.
This mechanism is known as
pipelining.
Instruction queue
8086 microprocessor
Architecture
Some of the 16 bit registers can be
used as two 8 bit registers as :
AX can be used as AH and AL
BX can be used as BH and BL
CX can be used as CH and CL
DX can be used as DH and DL
Execution Unit (EU)
EU decodes and
executes instructions.
A decoder in the EU
control system
translates instructions.
16-bit ALU for
performing arithmetic
and logic operation
Four general purpose
registers(AX, BX, CX, DX);
Pointer registers (Stack
Pointer, Base Pointer);
and
Index registers (Source
Index, Destination Index)
each of 16-bits
8086 microprocessor
Architecture
EU
Registers
Accumulator Register (AX)
Consists of two 8-bit registers AL and AH, which can be
combined together and used as a 16-bit register AX.
AL in this case contains the low order byte of the word,
and AH contains the high-order byte.
The I/O instructions use the AX or AL for inputting /
outputting 16 or 8 bit data to or from an I/O port.
Multiplication and Division instructions also use the AX or
AL.
Execution Unit (EU)
8086 microprocessor
Architecture
EU
Registers
Base Register (BX)
Consists of two 8-bit registers BL and BH, which can be
combined together and used as a 16-bit register BX.
BL in this case contains the low-order byte of the word,
and BH contains the high-order byte.
This is the only general purpose register whose contents
can be used for addressing the 8086 memory.
All memory references utilizing this register content for
addressing use DS as the default segment register.
Execution Unit (EU)
8086 microprocessor
Architecture
EU
Registers
Counter Register (CX)
Consists of two 8-bit registers CL and CH, which can be
combined together and used as a 16-bit register CX.
When combined, CL register contains the low order byte of
the word, and CH contains the high-order byte.
Instructions such as SHIFT, ROTATE and LOOP use the
contents of CX as a counter.
Execution Unit (EU)
Example:
The instruction LOOP START automatically decrements
CX by 1 without affecting flags and will check if [CX] =
0.
If it is zero, 8086 executes the next instruction;
otherwise the 8086 branches to the label START.
8086 microprocessor
Architecture
EU
Registers
Data Register (DX)
Consists of two 8-bit registers DL and DH, which can be
combined together and used as a 16-bit register DX.
When combined, DL register contains the low order byte of
the word, and DH contains the high-order byte.
Used to hold the high 16-bit result (data) in 16 X 16
multiplication or the high 16-bit dividend (data) before a
32 ÷ 16 division and the 16-bit reminder after division.
Execution Unit (EU)
8086 microprocessor
Architecture
EU
Registers
Stack Pointer (SP) and Base Pointer (BP)
SP and BP are used to access data in the stack segment.
SP is used as an offset from the current SS during
execution of instructions that involve the stack segment in
the external memory.
SP contents are automatically updated (incremented/
decremented) due to execution of a POP or PUSH
instruction.
BP contains an offset address in the current SS, which is
used by instructions utilizing the based addressing mode.
Execution Unit (EU)
8086 microprocessor
Architecture
8086
Microprocessor
EU
Registers
Source Index (SI) and Destination Index (DI)
Used in indexed addressing.
Instructions that process data strings use the SI and DI
registers together with DS and ES respectively in order to
distinguish between the source and destination addresses.
Execution Unit (EU)
Architecture
8086
Microprocessor
EU
Registers
Source Index (SI) and Destination Index (DI)
Used in indexed addressing.
Instructions that process data strings use the SI and DI
registers together with DS and ES respectively in order to
distinguish between the source and destination addresses.
Execution Unit (EU)
Architecture
Flag Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OF DF IF TF SF ZF AF PF CF
Carry Flag
This flag is set, when there is
a carry out of MSB in case of
addition or a borrow in case
of subtraction.
Parity Flag
This flag is set to 1, if the lower
byte of the result contains even
number of 1’s ; for odd number
of 1’s set to zero.
Auxiliary Carry Flag
This is set, if there is a carry from the
lowest nibble, i.e, bit three during
addition, or borrow for the lowest
nibble, i.e, bit three, during
subtraction.
Zero Flag
This flag is set, if the result of
the computation or comparison
performed by an instruction is
zero
Sign Flag
This flag is set, when the
result of any computation
is negative
Tarp Flag
If this flag is set, the processor
enters the single step execution
mode by generating internal
interrupts after the execution of
each instruction
Interrupt Flag
Causes the 8086 to recognize
external mask interrupts; clearing IF
disables these interrupts.
Direction Flag
This is used by string manipulation instructions. If this flag bit
is ‘0’, the string is processed beginning from the lowest
address to the highest address, i.e., auto incrementing mode.
Otherwise, the string is processed from the highest address
towards the lowest address, i.e., auto incrementing mode.
Over flow Flag
This flag is set, if an overflow occurs, i.e, if the result of a signed
operation is large enough to accommodate in a destination
register. The result is of more than 7-bits in size in case of 8-bit
signed operation and more than 15-bits in size in case of 16-bit
sign operations, then the overflow will be set.
Execution Unit (EU)
8086 microprocessor
Architecture
Sl.No. Type Register width Name of register
1 General purpose register 16 bit AX, BX, CX, DX
8 bit AL, AH, BL, BH, CL, CH, DL, DH
2 Pointer register 16 bit SP, BP
3 Index register 16 bit SI, DI
4 Instruction Pointer 16 bit IP
5 Segment register 16 bit CS, DS, SS, ES
6 Flag (PSW) 16 bit Flag register
8086 registers
categorized
into 4 groups
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OF DF IF TF SF ZF AF PF CF
8086 microprocessor
Architecture
Register Name of the Register Special Function
AX 16-bit Accumulator Stores the 16-bit results of arithmetic and logic operations
AL 8-bit Accumulator Stores the 8-bit results of arithmetic and logic operations
BX Base register Used to hold base value in base addressing mode to access memory
data
CX Count Register Used to hold the count value in SHIFT, ROTATE and LOOP instructions
DX Data Register Used to hold data for multiplication and division operations
SP Stack Pointer Used to hold the offset address of top stack memory
BP Base Pointer Used to hold the base value in base addressing using SS register to
access data from stack memory
SI Source Index Used to hold index value of source operand (data) for string
instructions
DI Data Index Used to hold the index value of destination operand (data) for string
operations
Registers and Special Functions
8086 microprocessor
Signal Description of 8086 Microprocessor
• The 8086 Microprocessor is a 16-bit CPU available in
3 clock rates, i.e. 5, 8 and 10MHz, packaged in a 40
pin CERDIP or plastic package.
• The 8086 Microprocessor operates in single
processor or multiprocessor configurations to
achieve high performance.
• Some of the pins serve a particular function in
minimum mode (single processor mode) and others
function in maximum mode (multiprocessor mode)
configuration.
Pin Diagram
Signal Description of 8086 Microprocessor
• The 8086 signals can be categorized in three groups.
• The first are the signals having common functions in
minimum as well as maximum mode.
• The second are the signals which have special
functions in minimum mode
• Third are the signals having special functions for
maximum mode
Signal Description of 8086 Microprocessor
The following signal description are common for both
the minimum and maximum modes.
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. Here T1, T2, T3, T4 and TW are the clock states of a
machine cycle.
• TW is a wait state.
• These lines are active high and float to a tristate during
interrupt acknowledge and local bus hold acknowledge
cycles.
Signal Description of 8086 Microprocessor
A19/S6, A18/S5, A17/S4, A16/S3:
• These are the time multiplexed address and status
lines.
• During T1, these are the most significant address
lines or memory operations.
• During I/O operations, these lines are low.
• During memory or I/O operations, status information
is available on those lines for T2, T3, TW and T4 .
• The status of the interrupt enable flag bit(displayed
on S5) is updated at the beginning of each clock
cycle.
Signal Description of 8086 Microprocessor
A19/S6, A18/S5, A17/S4, A16/S3….:
• The S4 and S3 combinedly indicate which segment
register is presently being used for memory accesses
as shown in Table.
• The status line S6 is always low(logical).
Signal Description of 8086 Microprocessor
BHE’/S7-Bus High Enable/Status:
• The bus high enable signal is used to indicate the
transfer of data over the higher order (D15-D8) data
bus as shown in Table.
• It goes low for the data transfers over D15-D8 and is
used to derive chip selects of odd address memory
bank or peripherals.
Signal Description of 8086 Microprocessor
BHE’/S7-Bus High Enable/Status…….:
• BHE’ is low during T1 for read, write and interrupt
acknowledge cycles, when- ever a byte is to be
transferred on the higher byte of the data bus.
• The status information is available during T2, T3 and T4.
• The signal is active low and is tri-stated during 'hold'.
• It is low during T1 for the first pulse of the interrupt
acknowledge cycle.
MN/MX ‘:
• The logic level at this pin decides whether the processor
is to operate in either minimum (single processor) or
maximum (multiprocessor) mode.
Signal Description of 8086 Microprocessor
RD’-Read:
• Read signal, when low, indicates the peripherals that the
processor is performing a memory or I/O read operation.
• RD is active low and shows the state for T2, T3, TW of any
read cycle.
• The signal remains tri-stated during the 'hold acknowledge'.
READY:
• This is the acknowledgement from the slow devices or
memory that they have completed the data transfer.
• The signal made available by the devices is synchronized by
the 8284A clock generator to provide ready input to the 8086.
Signal Description of 8086 Microprocessor
INTR-lnterrupt 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.
• This can be internally masked by resetting the
interrupt enable flag.
• This signal is active high and internally synchronized.
Signal Description of 8086 Microprocessor
TEST:
• This input is examined by a 'WAIT' instruction.
• If the TEST input goes low, execution will continue,
else, the processor remains in an idle state.
• The input is synchronized internally during each clock
cycle on leading edge of clock.
NMI-Non-maskable Interrupt:
• This is an edge-triggered input which causes a Type2
interrupt.
• A transition from low to high initiates the interrupt
response at the end of the current instruction.
• This input is internally synchronized.
Signal Description of 8086 Microprocessor
RESET:
• This input causes the processor to terminate the
current activity and start execution from FFFF0H.
• The signal is active high and must be active for at least
four clock cycles.
• It restarts execution when the RESET returns low.
• RESET is also internally synchronized.
CLK-Clock Input:
• The clock input provides the basic timing for
processor operation and bus control activity.
• The range of frequency for different 8086 versions is
from 5MHz to 10MHz.
Pin Functions for the Minimum Mode Operation of 8086.
M/IO’ -Memory/IO:
• This is a status line logically equivalent to S2 in
maximum mode.
• When it is low, it indicates the CPU is having an I/O
operation, and when it is high, it indicates that the
CPU is having a memory operation.
• This line becomes active in the previous T4 and
remains active till final T4 of the current cycle.
• It is tri-stated during local bus "hold acknowledge".
Pin Functions for the Minimum Mode Operation of 8086.
INTA’ -Interrupt Acknowledge:
• This signal is used as a read strobe for interrupt
acknowledge cycles.
• In other words, when it goes low, it means that the
processor has accepted the interrupt.
• It is active low during T2, T3 and TW of each interrupt
acknowledge cycle.
ALE-Address latch Enable:
• This output signal indicates the availability of the valid
address on the address/data lines, and is connected to
latch enable input of latches.
• This signal is active high and is never tri-stated.
Pin Functions for the Minimum Mode Operation of 8086.
DT /R’ -Data Transmit/Receive:
• This output is used to decide the direction of data flow
through the trans-receivers (bidirectional buffers).
• When the processor sends out data, this signal is high
and when the processor is receiving data, this signal is
low.
• Logically, this is equivalent to S1 in maximum mode.
• Its timing is the same as M/IO.
• This is tri-stated during 'hold acknowledge'.
Pin Functions for the Minimum Mode Operation of 8086.
DEN’-Data Enable:
• This signal indicates the availability of valid data over
the address/data lines.
• It is used to enable the trans-receivers (bidirectional
buffers) to separate the data from the multiplexed
address/data signal.
• It is active from the middle ofT2 until the middle of
T4 DEN is tri-stated during 'hold acknowledge' cycle.
HOLD, HLDA-Hold/Hold Acknowledge:
• When the HOLD line goes high, it indicates to the
processor that another master is requesting the bus
access.
Pin Functions for the Minimum Mode Operation of 8086.
HOLD, HLDA-Hold/Hold Acknowledge...:
• The processor, after receiving the HOLD request, issues
the hold acknowledge signal on HLDA pin, in the
middle of the next clock cycle after completing the
current bus (instruction) cycle.
• At the same time, the processor floats the local bus
and control lines.
• When the processor detects the HOLD line low, it
lowers the HLDA signal.
• HOLD is an asynchronous input, and it should be
externally synchronized.
Pin Functions for the Minimum Mode Operation of 8086.
HOLD, HLDA-Hold/Hold Acknowledge...:
Pin Functions for Maximum Mode Operation
S2, S1, S0 -Status Lines:
• These are the status lines which reflect the type of
operation, being carried out by the processor.
Pin Functions for Maximum Mode Operation
QS1, QS0-Queue Status:
• These lines give information about the status of the
code prefetch queue.
• These are active during the CLK cycle after which the
queue operation is performed.
Pin Functions for Maximum Mode Operation
LOCK’:
• The LOCK signal is activated by the 'LOCK' prefix
instruction and remains active until the completion of
the next instruction.
• This output pin indicates that other system bus
masters will be prevented from gaining the system
bus, while the LOCK signal is low.
• When the CPU is executing a critical instruction which
requires the system bus, the LOCK prefix instruction
ensures that other processors connected in the system
will not gain the control of the bus.
• This floats to tri-state off during "hold acknowledge".
Pin Functions for Maximum Mode Operation
RQ/GT0, RQ/GT1-ReQuest/Grant:
• These pins are used by other local bus masters, in maximum
mode, to force the processor to release the local bus at the end
of the processor's current bus cycle.
• Each of the pins is bidirectional with RQ/GT0 having higher
priority than RQ/ GT1, RQ/GT pins have internal pull-up
resistors and may be left unconnected.
• The request! grant sequence is as follows:
1. A pulse one clock wide from another bus master requests the
bus access to 8086.
2. During T4 (current) or T1 (next) clock cycle, a pulse one clock
wide from 8086 to the requesting master, indicates that the
8086 has allowed the local bus to float and that it will enter the
"hold acknowledge" state at next clock cycle.
Pin Functions for Maximum Mode Operation
RQ/GT0, RQ/GT1-ReQuest/Grant...........:
3. A one clock wide pulse from the another master
indicates to 8086 that the 'hold’ request is about to
end and the 8086 may regain control of the local bus
at the next clock cycle.
• Thus each master to master exchange of the local
bus is a sequence of 3 pulses. There must be at least
one dead clock cycle after each bus exchange.
Ad

More Related Content

What's hot (20)

8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
mahalakshmimalini
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
Sazzad Hossain
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
Nikhil Kumar
 
Bus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 MicroprocessorBus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 Microprocessor
Arafat Hossan
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
Mihika Shah
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
Mustafa Salah
 
26. 8255 control word programming
26. 8255 control word programming26. 8255 control word programming
26. 8255 control word programming
sandip das
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
sb108ec
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
yash sawarkar
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
Mazin Alwaaly
 
1327 Addressing Modes Of 8086
1327 Addressing Modes Of 80861327 Addressing Modes Of 8086
1327 Addressing Modes Of 8086
techbed
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
mpsrekha83
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
Dr. AISHWARYA N
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
Estiak Khan
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086
Shehrevar Davierwala
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
AJAL A J
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
Nikhil Kumar
 
Bus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 MicroprocessorBus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 Microprocessor
Arafat Hossan
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
Mihika Shah
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
26. 8255 control word programming
26. 8255 control word programming26. 8255 control word programming
26. 8255 control word programming
sandip das
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
sb108ec
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
yash sawarkar
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
Mazin Alwaaly
 
1327 Addressing Modes Of 8086
1327 Addressing Modes Of 80861327 Addressing Modes Of 8086
1327 Addressing Modes Of 8086
techbed
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
mpsrekha83
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
Dr. AISHWARYA N
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
Estiak Khan
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086
Shehrevar Davierwala
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
AJAL A J
 

Similar to introduction to Architecture of 8086 and it's application (20)

lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
CharlesAsiedu4
 
Unit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptxUnit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptx
DrVikasMahor
 
8086 PPt-2021.pptx
8086 PPt-2021.pptx8086 PPt-2021.pptx
8086 PPt-2021.pptx
AnshuGangwar21
 
Microprocessor Architecture.pptx
Microprocessor Architecture.pptxMicroprocessor Architecture.pptx
Microprocessor Architecture.pptx
Captain Price
 
Chapter 2 and 3 8086,8088 architecture and HW specification.pptx
Chapter 2 and 3 8086,8088 architecture and HW specification.pptxChapter 2 and 3 8086,8088 architecture and HW specification.pptx
Chapter 2 and 3 8086,8088 architecture and HW specification.pptx
Getnet Tigabie Askale -(GM)
 
physical_address segmentation.pdf
physical_address segmentation.pdfphysical_address segmentation.pdf
physical_address segmentation.pdf
Swapnil511014
 
8086
80868086
8086
Ravi Anand
 
1.Registers.pptx tjrktjgktjghththyjytjytjyy
1.Registers.pptx tjrktjgktjghththyjytjytjyy1.Registers.pptx tjrktjgktjghththyjytjytjyy
1.Registers.pptx tjrktjgktjghththyjytjytjyy
sanketkashyap6
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture
Saurabh Jain
 
8086 Architecture, Pin diagram, Addressing modes (3).pdf
8086 Architecture, Pin diagram, Addressing modes (3).pdf8086 Architecture, Pin diagram, Addressing modes (3).pdf
8086 Architecture, Pin diagram, Addressing modes (3).pdf
YHarika2
 
1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor
techbed
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
Ramesh Rangaswamy
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
Mohansonale1
 
Cs14 406 mod1
Cs14 406 mod1Cs14 406 mod1
Cs14 406 mod1
Akhila Rahul
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
Akhila Rahul
 
Intel 8086
Intel 8086 Intel 8086
Intel 8086
Manoj VNV
 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
Hinal Lunagariya
 
8086 Register organization and Architecture details
8086 Register organization and Architecture details8086 Register organization and Architecture details
8086 Register organization and Architecture details
MahendraMunirathnam1
 
Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)
AISSMS
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
ssuserd21262
 
Unit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptxUnit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptx
DrVikasMahor
 
Microprocessor Architecture.pptx
Microprocessor Architecture.pptxMicroprocessor Architecture.pptx
Microprocessor Architecture.pptx
Captain Price
 
Chapter 2 and 3 8086,8088 architecture and HW specification.pptx
Chapter 2 and 3 8086,8088 architecture and HW specification.pptxChapter 2 and 3 8086,8088 architecture and HW specification.pptx
Chapter 2 and 3 8086,8088 architecture and HW specification.pptx
Getnet Tigabie Askale -(GM)
 
physical_address segmentation.pdf
physical_address segmentation.pdfphysical_address segmentation.pdf
physical_address segmentation.pdf
Swapnil511014
 
1.Registers.pptx tjrktjgktjghththyjytjytjyy
1.Registers.pptx tjrktjgktjghththyjytjytjyy1.Registers.pptx tjrktjgktjghththyjytjytjyy
1.Registers.pptx tjrktjgktjghththyjytjytjyy
sanketkashyap6
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture
Saurabh Jain
 
8086 Architecture, Pin diagram, Addressing modes (3).pdf
8086 Architecture, Pin diagram, Addressing modes (3).pdf8086 Architecture, Pin diagram, Addressing modes (3).pdf
8086 Architecture, Pin diagram, Addressing modes (3).pdf
YHarika2
 
1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor
techbed
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
Akhila Rahul
 
8086 Register organization and Architecture details
8086 Register organization and Architecture details8086 Register organization and Architecture details
8086 Register organization and Architecture details
MahendraMunirathnam1
 
Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)Microprocessor if deptt- 17th september 2021 (2)
Microprocessor if deptt- 17th september 2021 (2)
AISSMS
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
ssuserd21262
 
Ad

More from DrVikasMahor (20)

Introduction to VHDL language VHDL_Intro.ppt
Introduction to VHDL language VHDL_Intro.pptIntroduction to VHDL language VHDL_Intro.ppt
Introduction to VHDL language VHDL_Intro.ppt
DrVikasMahor
 
Presentation on CMOS based Domino Logic Design
Presentation on CMOS based Domino Logic DesignPresentation on CMOS based Domino Logic Design
Presentation on CMOS based Domino Logic Design
DrVikasMahor
 
SWM Solid Waste Management 900201 (2).pptx
SWM Solid Waste Management 900201 (2).pptxSWM Solid Waste Management 900201 (2).pptx
SWM Solid Waste Management 900201 (2).pptx
DrVikasMahor
 
pp5-filehandling- python 200824063109 (1).pptx
pp5-filehandling- python 200824063109 (1).pptxpp5-filehandling- python 200824063109 (1).pptx
pp5-filehandling- python 200824063109 (1).pptx
DrVikasMahor
 
MITS DU Exam presentation for exam procedure
MITS DU Exam presentation for exam procedureMITS DU Exam presentation for exam procedure
MITS DU Exam presentation for exam procedure
DrVikasMahor
 
Unit 4 Environment for the EEES course.pptx
Unit 4 Environment for the EEES course.pptxUnit 4 Environment for the EEES course.pptx
Unit 4 Environment for the EEES course.pptx
DrVikasMahor
 
introduction to embedded-converted new one
introduction to embedded-converted new oneintroduction to embedded-converted new one
introduction to embedded-converted new one
DrVikasMahor
 
First Presentation for hackathon in an engineering
First Presentation for hackathon in an engineeringFirst Presentation for hackathon in an engineering
First Presentation for hackathon in an engineering
DrVikasMahor
 
use of Social_Networking_in_Job_Search.pptx
use of Social_Networking_in_Job_Search.pptxuse of Social_Networking_in_Job_Search.pptx
use of Social_Networking_in_Job_Search.pptx
DrVikasMahor
 
Example Programs of CPP programs ch 1.pptx
Example Programs of CPP programs ch 1.pptxExample Programs of CPP programs ch 1.pptx
Example Programs of CPP programs ch 1.pptx
DrVikasMahor
 
ppt ISTAMCE 314 conference ppt sample.pptx
ppt ISTAMCE 314 conference ppt sample.pptxppt ISTAMCE 314 conference ppt sample.pptx
ppt ISTAMCE 314 conference ppt sample.pptx
DrVikasMahor
 
department naac ppt vikas mahor around .pptx
department naac ppt vikas mahor around .pptxdepartment naac ppt vikas mahor around .pptx
department naac ppt vikas mahor around .pptx
DrVikasMahor
 
Automation for KUKA youBot ROS Project.pptx
Automation for KUKA youBot ROS Project.pptxAutomation for KUKA youBot ROS Project.pptx
Automation for KUKA youBot ROS Project.pptx
DrVikasMahor
 
UNIT 5 microcontroller 8051 OVERVIEW.pdf
UNIT 5 microcontroller 8051 OVERVIEW.pdfUNIT 5 microcontroller 8051 OVERVIEW.pdf
UNIT 5 microcontroller 8051 OVERVIEW.pdf
DrVikasMahor
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
DrVikasMahor
 
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
DrVikasMahor
 
POWER AMPLIFIER- introduction to power amplifier.pptx
POWER AMPLIFIER- introduction to power amplifier.pptxPOWER AMPLIFIER- introduction to power amplifier.pptx
POWER AMPLIFIER- introduction to power amplifier.pptx
DrVikasMahor
 
8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt
DrVikasMahor
 
8086 all instructions combined presentation.pptx
8086 all instructions combined presentation.pptx8086 all instructions combined presentation.pptx
8086 all instructions combined presentation.pptx
DrVikasMahor
 
presentation for NEC course to defend for NEP 2020
presentation for NEC course to defend for NEP 2020presentation for NEC course to defend for NEP 2020
presentation for NEC course to defend for NEP 2020
DrVikasMahor
 
Introduction to VHDL language VHDL_Intro.ppt
Introduction to VHDL language VHDL_Intro.pptIntroduction to VHDL language VHDL_Intro.ppt
Introduction to VHDL language VHDL_Intro.ppt
DrVikasMahor
 
Presentation on CMOS based Domino Logic Design
Presentation on CMOS based Domino Logic DesignPresentation on CMOS based Domino Logic Design
Presentation on CMOS based Domino Logic Design
DrVikasMahor
 
SWM Solid Waste Management 900201 (2).pptx
SWM Solid Waste Management 900201 (2).pptxSWM Solid Waste Management 900201 (2).pptx
SWM Solid Waste Management 900201 (2).pptx
DrVikasMahor
 
pp5-filehandling- python 200824063109 (1).pptx
pp5-filehandling- python 200824063109 (1).pptxpp5-filehandling- python 200824063109 (1).pptx
pp5-filehandling- python 200824063109 (1).pptx
DrVikasMahor
 
MITS DU Exam presentation for exam procedure
MITS DU Exam presentation for exam procedureMITS DU Exam presentation for exam procedure
MITS DU Exam presentation for exam procedure
DrVikasMahor
 
Unit 4 Environment for the EEES course.pptx
Unit 4 Environment for the EEES course.pptxUnit 4 Environment for the EEES course.pptx
Unit 4 Environment for the EEES course.pptx
DrVikasMahor
 
introduction to embedded-converted new one
introduction to embedded-converted new oneintroduction to embedded-converted new one
introduction to embedded-converted new one
DrVikasMahor
 
First Presentation for hackathon in an engineering
First Presentation for hackathon in an engineeringFirst Presentation for hackathon in an engineering
First Presentation for hackathon in an engineering
DrVikasMahor
 
use of Social_Networking_in_Job_Search.pptx
use of Social_Networking_in_Job_Search.pptxuse of Social_Networking_in_Job_Search.pptx
use of Social_Networking_in_Job_Search.pptx
DrVikasMahor
 
Example Programs of CPP programs ch 1.pptx
Example Programs of CPP programs ch 1.pptxExample Programs of CPP programs ch 1.pptx
Example Programs of CPP programs ch 1.pptx
DrVikasMahor
 
ppt ISTAMCE 314 conference ppt sample.pptx
ppt ISTAMCE 314 conference ppt sample.pptxppt ISTAMCE 314 conference ppt sample.pptx
ppt ISTAMCE 314 conference ppt sample.pptx
DrVikasMahor
 
department naac ppt vikas mahor around .pptx
department naac ppt vikas mahor around .pptxdepartment naac ppt vikas mahor around .pptx
department naac ppt vikas mahor around .pptx
DrVikasMahor
 
Automation for KUKA youBot ROS Project.pptx
Automation for KUKA youBot ROS Project.pptxAutomation for KUKA youBot ROS Project.pptx
Automation for KUKA youBot ROS Project.pptx
DrVikasMahor
 
UNIT 5 microcontroller 8051 OVERVIEW.pdf
UNIT 5 microcontroller 8051 OVERVIEW.pdfUNIT 5 microcontroller 8051 OVERVIEW.pdf
UNIT 5 microcontroller 8051 OVERVIEW.pdf
DrVikasMahor
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
DrVikasMahor
 
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
DrVikasMahor
 
POWER AMPLIFIER- introduction to power amplifier.pptx
POWER AMPLIFIER- introduction to power amplifier.pptxPOWER AMPLIFIER- introduction to power amplifier.pptx
POWER AMPLIFIER- introduction to power amplifier.pptx
DrVikasMahor
 
8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt
DrVikasMahor
 
8086 all instructions combined presentation.pptx
8086 all instructions combined presentation.pptx8086 all instructions combined presentation.pptx
8086 all instructions combined presentation.pptx
DrVikasMahor
 
presentation for NEC course to defend for NEP 2020
presentation for NEC course to defend for NEP 2020presentation for NEC course to defend for NEP 2020
presentation for NEC course to defend for NEP 2020
DrVikasMahor
 
Ad

Recently uploaded (20)

Working with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to ImplementationWorking with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to Implementation
Alabama Transportation Assistance Program
 
Understand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panelUnderstand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panel
NaveenBotsa
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptxUnleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
SanjeetMishra29
 
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
speedcomcyber25
 
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdfDahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
PawachMetharattanara
 
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic AlgorithmDesign Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Journal of Soft Computing in Civil Engineering
 
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning ModelsMode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Journal of Soft Computing in Civil Engineering
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023
Rajesh Prasad
 
hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .
NABLAS株式会社
 
UNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdfUNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdf
sikarwaramit089
 
vtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdfvtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdf
RaghavaGD1
 
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
22PCOAM16_MACHINE_LEARNING_UNIT_IV_NOTES_with_QB
Guru Nanak Technical Institutions
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation RateModeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Journal of Soft Computing in Civil Engineering
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
Understand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panelUnderstand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panel
NaveenBotsa
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptxUnleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
SanjeetMishra29
 
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
speedcomcyber25
 
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdfDahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
Dahua Smart Cityyyyyyyyyyyyyyyyyy2025.pdf
PawachMetharattanara
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023
Rajesh Prasad
 
hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .
NABLAS株式会社
 
UNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdfUNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdf
sikarwaramit089
 
vtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdfvtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdf
RaghavaGD1
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 

introduction to Architecture of 8086 and it's application

  • 1. Dr. Vikas Mahor Lecture-3 Architecture and Pin Configuration of 8086
  • 2. Architecture Execution Unit (EU) EU executes instructions that have already been fetched by the BIU. BIU and EU functions separately. Bus Interface Unit (BIU) BIU fetches instructions, reads data from memory and I/O ports, writes data to memory and I/ O ports. 8086 microprocessor
  • 3. Architecture Bus Interface Unit (BIU) Dedicated Adder to generate 20 bit address Four 16-bit segment registers Code Segment (CS) Data Segment (DS) Stack Segment (SS) Extra Segment (ES) Segment Registers >> 8086 microprocessor
  • 4. Architecture Bus Interface Unit (BIU) Segment Registers Code Segment Register 16-bit CS contains the base or start of the current code segment; IP contains the distance or offset from this address to the next instruction byte to be fetched. BIU computes the 20-bit physical address by logically shifting the contents of CS 4-bits to the left and then adding the 16-bit contents of IP. That is, all instructions of a program are relative to the contents of the CS register multiplied by 16 and then offset is added provided by the IP. 8086 microprocessor
  • 5. Architecture Bus Interface Unit (BIU) Segment Registers Data Segment Register 16-bit Points to the current data segment; operands for most instructions are fetched from this segment. The 16-bit contents of the Source Index (SI) or Destination Index (DI) or a 16-bit displacement are used as offset for computing the 20-bit physical address. 8086 microprocessor
  • 6. Architecture Bus Interface Unit (BIU) Segment Registers Stack Segment Register 16-bit Points to the current stack. The 20-bit physical stack address is calculated from the Stack Segment (SS) and the Stack Pointer (SP) for stack instructions such as PUSH and POP. In based addressing mode, the 20-bit physical stack address is calculated from the Stack segment (SS) and the Base Pointer (BP). 8086 microprocessor
  • 7. Architecture Bus Interface Unit (BIU) Segment Registers Extra Segment Register 16-bit Points to the extra segment in which data (in excess of 64K pointed to by the DS) is stored. String instructions use the ES and DI to determine the 20-bit physical address for the destination. 8086 microprocessor
  • 8. Architecture Bus Interface Unit (BIU) Segment Registers Instruction Pointer 16-bit Always points to the next instruction to be executed within the currently executing code segment. So, this register contains the 16-bit offset address pointing to the next instruction code within the 64Kb of the code segment area. Its content is automatically incremented as the execution of the next instruction takes place. 8086 microprocessor
  • 9. Architecture Bus Interface Unit (BIU) A group of First-In-First-Out (FIFO) in which up to 6 bytes of instruction code are pre fetched from the memory ahead of time. This is done in order to speed up the execution by overlapping instruction fetch with execution. This mechanism is known as pipelining. Instruction queue 8086 microprocessor
  • 10. Architecture Some of the 16 bit registers can be used as two 8 bit registers as : AX can be used as AH and AL BX can be used as BH and BL CX can be used as CH and CL DX can be used as DH and DL Execution Unit (EU) EU decodes and executes instructions. A decoder in the EU control system translates instructions. 16-bit ALU for performing arithmetic and logic operation Four general purpose registers(AX, BX, CX, DX); Pointer registers (Stack Pointer, Base Pointer); and Index registers (Source Index, Destination Index) each of 16-bits 8086 microprocessor
  • 11. Architecture EU Registers Accumulator Register (AX) Consists of two 8-bit registers AL and AH, which can be combined together and used as a 16-bit register AX. AL in this case contains the low order byte of the word, and AH contains the high-order byte. The I/O instructions use the AX or AL for inputting / outputting 16 or 8 bit data to or from an I/O port. Multiplication and Division instructions also use the AX or AL. Execution Unit (EU) 8086 microprocessor
  • 12. Architecture EU Registers Base Register (BX) Consists of two 8-bit registers BL and BH, which can be combined together and used as a 16-bit register BX. BL in this case contains the low-order byte of the word, and BH contains the high-order byte. This is the only general purpose register whose contents can be used for addressing the 8086 memory. All memory references utilizing this register content for addressing use DS as the default segment register. Execution Unit (EU) 8086 microprocessor
  • 13. Architecture EU Registers Counter Register (CX) Consists of two 8-bit registers CL and CH, which can be combined together and used as a 16-bit register CX. When combined, CL register contains the low order byte of the word, and CH contains the high-order byte. Instructions such as SHIFT, ROTATE and LOOP use the contents of CX as a counter. Execution Unit (EU) Example: The instruction LOOP START automatically decrements CX by 1 without affecting flags and will check if [CX] = 0. If it is zero, 8086 executes the next instruction; otherwise the 8086 branches to the label START. 8086 microprocessor
  • 14. Architecture EU Registers Data Register (DX) Consists of two 8-bit registers DL and DH, which can be combined together and used as a 16-bit register DX. When combined, DL register contains the low order byte of the word, and DH contains the high-order byte. Used to hold the high 16-bit result (data) in 16 X 16 multiplication or the high 16-bit dividend (data) before a 32 ÷ 16 division and the 16-bit reminder after division. Execution Unit (EU) 8086 microprocessor
  • 15. Architecture EU Registers Stack Pointer (SP) and Base Pointer (BP) SP and BP are used to access data in the stack segment. SP is used as an offset from the current SS during execution of instructions that involve the stack segment in the external memory. SP contents are automatically updated (incremented/ decremented) due to execution of a POP or PUSH instruction. BP contains an offset address in the current SS, which is used by instructions utilizing the based addressing mode. Execution Unit (EU) 8086 microprocessor
  • 16. Architecture 8086 Microprocessor EU Registers Source Index (SI) and Destination Index (DI) Used in indexed addressing. Instructions that process data strings use the SI and DI registers together with DS and ES respectively in order to distinguish between the source and destination addresses. Execution Unit (EU)
  • 17. Architecture 8086 Microprocessor EU Registers Source Index (SI) and Destination Index (DI) Used in indexed addressing. Instructions that process data strings use the SI and DI registers together with DS and ES respectively in order to distinguish between the source and destination addresses. Execution Unit (EU)
  • 18. Architecture Flag Register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 OF DF IF TF SF ZF AF PF CF Carry Flag This flag is set, when there is a carry out of MSB in case of addition or a borrow in case of subtraction. Parity Flag This flag is set to 1, if the lower byte of the result contains even number of 1’s ; for odd number of 1’s set to zero. Auxiliary Carry Flag This is set, if there is a carry from the lowest nibble, i.e, bit three during addition, or borrow for the lowest nibble, i.e, bit three, during subtraction. Zero Flag This flag is set, if the result of the computation or comparison performed by an instruction is zero Sign Flag This flag is set, when the result of any computation is negative Tarp Flag If this flag is set, the processor enters the single step execution mode by generating internal interrupts after the execution of each instruction Interrupt Flag Causes the 8086 to recognize external mask interrupts; clearing IF disables these interrupts. Direction Flag This is used by string manipulation instructions. If this flag bit is ‘0’, the string is processed beginning from the lowest address to the highest address, i.e., auto incrementing mode. Otherwise, the string is processed from the highest address towards the lowest address, i.e., auto incrementing mode. Over flow Flag This flag is set, if an overflow occurs, i.e, if the result of a signed operation is large enough to accommodate in a destination register. The result is of more than 7-bits in size in case of 8-bit signed operation and more than 15-bits in size in case of 16-bit sign operations, then the overflow will be set. Execution Unit (EU) 8086 microprocessor
  • 19. Architecture Sl.No. Type Register width Name of register 1 General purpose register 16 bit AX, BX, CX, DX 8 bit AL, AH, BL, BH, CL, CH, DL, DH 2 Pointer register 16 bit SP, BP 3 Index register 16 bit SI, DI 4 Instruction Pointer 16 bit IP 5 Segment register 16 bit CS, DS, SS, ES 6 Flag (PSW) 16 bit Flag register 8086 registers categorized into 4 groups 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 OF DF IF TF SF ZF AF PF CF 8086 microprocessor
  • 20. Architecture Register Name of the Register Special Function AX 16-bit Accumulator Stores the 16-bit results of arithmetic and logic operations AL 8-bit Accumulator Stores the 8-bit results of arithmetic and logic operations BX Base register Used to hold base value in base addressing mode to access memory data CX Count Register Used to hold the count value in SHIFT, ROTATE and LOOP instructions DX Data Register Used to hold data for multiplication and division operations SP Stack Pointer Used to hold the offset address of top stack memory BP Base Pointer Used to hold the base value in base addressing using SS register to access data from stack memory SI Source Index Used to hold index value of source operand (data) for string instructions DI Data Index Used to hold the index value of destination operand (data) for string operations Registers and Special Functions 8086 microprocessor
  • 21. Signal Description of 8086 Microprocessor • The 8086 Microprocessor is a 16-bit CPU available in 3 clock rates, i.e. 5, 8 and 10MHz, packaged in a 40 pin CERDIP or plastic package. • The 8086 Microprocessor operates in single processor or multiprocessor configurations to achieve high performance. • Some of the pins serve a particular function in minimum mode (single processor mode) and others function in maximum mode (multiprocessor mode) configuration.
  • 23. Signal Description of 8086 Microprocessor • The 8086 signals can be categorized in three groups. • The first are the signals having common functions in minimum as well as maximum mode. • The second are the signals which have special functions in minimum mode • Third are the signals having special functions for maximum mode
  • 24. Signal Description of 8086 Microprocessor The following signal description are common for both the minimum and maximum modes. 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. Here T1, T2, T3, T4 and TW are the clock states of a machine cycle. • TW is a wait state. • These lines are active high and float to a tristate during interrupt acknowledge and local bus hold acknowledge cycles.
  • 25. Signal Description of 8086 Microprocessor A19/S6, A18/S5, A17/S4, A16/S3: • These are the time multiplexed address and status lines. • During T1, these are the most significant address lines or memory operations. • During I/O operations, these lines are low. • During memory or I/O operations, status information is available on those lines for T2, T3, TW and T4 . • The status of the interrupt enable flag bit(displayed on S5) is updated at the beginning of each clock cycle.
  • 26. Signal Description of 8086 Microprocessor A19/S6, A18/S5, A17/S4, A16/S3….: • The S4 and S3 combinedly indicate which segment register is presently being used for memory accesses as shown in Table. • The status line S6 is always low(logical).
  • 27. Signal Description of 8086 Microprocessor BHE’/S7-Bus High Enable/Status: • The bus high enable signal is used to indicate the transfer of data over the higher order (D15-D8) data bus as shown in Table. • It goes low for the data transfers over D15-D8 and is used to derive chip selects of odd address memory bank or peripherals.
  • 28. Signal Description of 8086 Microprocessor BHE’/S7-Bus High Enable/Status…….: • BHE’ is low during T1 for read, write and interrupt acknowledge cycles, when- ever a byte is to be transferred on the higher byte of the data bus. • The status information is available during T2, T3 and T4. • The signal is active low and is tri-stated during 'hold'. • It is low during T1 for the first pulse of the interrupt acknowledge cycle. MN/MX ‘: • The logic level at this pin decides whether the processor is to operate in either minimum (single processor) or maximum (multiprocessor) mode.
  • 29. Signal Description of 8086 Microprocessor RD’-Read: • Read signal, when low, indicates the peripherals that the processor is performing a memory or I/O read operation. • RD is active low and shows the state for T2, T3, TW of any read cycle. • The signal remains tri-stated during the 'hold acknowledge'. READY: • This is the acknowledgement from the slow devices or memory that they have completed the data transfer. • The signal made available by the devices is synchronized by the 8284A clock generator to provide ready input to the 8086.
  • 30. Signal Description of 8086 Microprocessor INTR-lnterrupt 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. • This can be internally masked by resetting the interrupt enable flag. • This signal is active high and internally synchronized.
  • 31. Signal Description of 8086 Microprocessor TEST: • This input is examined by a 'WAIT' instruction. • If the TEST input goes low, execution will continue, else, the processor remains in an idle state. • The input is synchronized internally during each clock cycle on leading edge of clock. NMI-Non-maskable Interrupt: • This is an edge-triggered input which causes a Type2 interrupt. • A transition from low to high initiates the interrupt response at the end of the current instruction. • This input is internally synchronized.
  • 32. Signal Description of 8086 Microprocessor RESET: • This input causes the processor to terminate the current activity and start execution from FFFF0H. • The signal is active high and must be active for at least four clock cycles. • It restarts execution when the RESET returns low. • RESET is also internally synchronized. CLK-Clock Input: • The clock input provides the basic timing for processor operation and bus control activity. • The range of frequency for different 8086 versions is from 5MHz to 10MHz.
  • 33. Pin Functions for the Minimum Mode Operation of 8086. M/IO’ -Memory/IO: • This is a status line logically equivalent to S2 in maximum mode. • When it is low, it indicates the CPU is having an I/O operation, and when it is high, it indicates that the CPU is having a memory operation. • This line becomes active in the previous T4 and remains active till final T4 of the current cycle. • It is tri-stated during local bus "hold acknowledge".
  • 34. Pin Functions for the Minimum Mode Operation of 8086. INTA’ -Interrupt Acknowledge: • This signal is used as a read strobe for interrupt acknowledge cycles. • In other words, when it goes low, it means that the processor has accepted the interrupt. • It is active low during T2, T3 and TW of each interrupt acknowledge cycle. ALE-Address latch Enable: • This output signal indicates the availability of the valid address on the address/data lines, and is connected to latch enable input of latches. • This signal is active high and is never tri-stated.
  • 35. Pin Functions for the Minimum Mode Operation of 8086. DT /R’ -Data Transmit/Receive: • This output is used to decide the direction of data flow through the trans-receivers (bidirectional buffers). • When the processor sends out data, this signal is high and when the processor is receiving data, this signal is low. • Logically, this is equivalent to S1 in maximum mode. • Its timing is the same as M/IO. • This is tri-stated during 'hold acknowledge'.
  • 36. Pin Functions for the Minimum Mode Operation of 8086. DEN’-Data Enable: • This signal indicates the availability of valid data over the address/data lines. • It is used to enable the trans-receivers (bidirectional buffers) to separate the data from the multiplexed address/data signal. • It is active from the middle ofT2 until the middle of T4 DEN is tri-stated during 'hold acknowledge' cycle. HOLD, HLDA-Hold/Hold Acknowledge: • When the HOLD line goes high, it indicates to the processor that another master is requesting the bus access.
  • 37. Pin Functions for the Minimum Mode Operation of 8086. HOLD, HLDA-Hold/Hold Acknowledge...: • The processor, after receiving the HOLD request, issues the hold acknowledge signal on HLDA pin, in the middle of the next clock cycle after completing the current bus (instruction) cycle. • At the same time, the processor floats the local bus and control lines. • When the processor detects the HOLD line low, it lowers the HLDA signal. • HOLD is an asynchronous input, and it should be externally synchronized.
  • 38. Pin Functions for the Minimum Mode Operation of 8086. HOLD, HLDA-Hold/Hold Acknowledge...:
  • 39. Pin Functions for Maximum Mode Operation S2, S1, S0 -Status Lines: • These are the status lines which reflect the type of operation, being carried out by the processor.
  • 40. Pin Functions for Maximum Mode Operation QS1, QS0-Queue Status: • These lines give information about the status of the code prefetch queue. • These are active during the CLK cycle after which the queue operation is performed.
  • 41. Pin Functions for Maximum Mode Operation LOCK’: • The LOCK signal is activated by the 'LOCK' prefix instruction and remains active until the completion of the next instruction. • This output pin indicates that other system bus masters will be prevented from gaining the system bus, while the LOCK signal is low. • When the CPU is executing a critical instruction which requires the system bus, the LOCK prefix instruction ensures that other processors connected in the system will not gain the control of the bus. • This floats to tri-state off during "hold acknowledge".
  • 42. Pin Functions for Maximum Mode Operation RQ/GT0, RQ/GT1-ReQuest/Grant: • These pins are used by other local bus masters, in maximum mode, to force the processor to release the local bus at the end of the processor's current bus cycle. • Each of the pins is bidirectional with RQ/GT0 having higher priority than RQ/ GT1, RQ/GT pins have internal pull-up resistors and may be left unconnected. • The request! grant sequence is as follows: 1. A pulse one clock wide from another bus master requests the bus access to 8086. 2. During T4 (current) or T1 (next) clock cycle, a pulse one clock wide from 8086 to the requesting master, indicates that the 8086 has allowed the local bus to float and that it will enter the "hold acknowledge" state at next clock cycle.
  • 43. Pin Functions for Maximum Mode Operation RQ/GT0, RQ/GT1-ReQuest/Grant...........: 3. A one clock wide pulse from the another master indicates to 8086 that the 'hold’ request is about to end and the 8086 may regain control of the local bus at the next clock cycle. • Thus each master to master exchange of the local bus is a sequence of 3 pulses. There must be at least one dead clock cycle after each bus exchange.
  翻译: