SlideShare a Scribd company logo
1 of 23
MICROPROCESSORS AND MICROCONTROLLERS
8086 Architecture
The 8086 architecture supports
• a 16-bit ALU.
• a set of 16 bit registers
• provides segmented memory addressing scheme
• a rich instruction set.
• Powerful interrupt structure
• Fetched instruction queue for overlapped fetching and
execution step.
8086 Architecture
8086 Architecture
CS305
MODULE 1
• The architecture of 8086 can be divided into two parts
• Bus Interface unit (BIU)
• Execution unit (EU)
Bus Interface Unit contains:
• Segment Registers
• Instruction Pointer
• 6-Byte Instruction Queue
Execution Unit contains:
• General Purposes Registers
• Stack Pointer
• Base Pointer
• Index Registers
• ALU
• Flag Register
• Instruction Decoder
• Timing & Control Unit
8086 Architecture
The bus interface unit is responsible for
• physical address calculations
• predecoding instruction byte queue ( 6 bytes long).
• making the system bus signal available for external devices.
• The 8086 addresses a segmented memory.
• The complete physical address which is 20-bits long is
generated using segment and offset registers, each 16-bits long
Generating a physical address:
1. The content of segment register (segment address) is shifted left
bit-wise four times.
2. The content of an offset register (offset address) is added to the
result of the previous shift operation.
• These two operations together produce a 20-bit physical address.
Address + Offset Address = Physical Address(Left Shifted)
8086 Architecture
Logical address is in the form of: Base Address: Offset->
Offset is the displacement of the memory location from the
starting location of the segment.
To calculate the physical address of the memory, BIU uses the
following formula:
Physical Address = Base Address of Segment * 10 + Offset
Hexadecimal number
8421
Decimal (D) Hexa(H) Binary
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
9 9 1001
10 A 1010
11 B
12 C
13 D
14 E
15 F
16 10
Physical Address calculation
● Segment Address = 1005H = 0001 0000 0000 0101
● Offset Address =5555H = 0101 0101 0101 0101
● Physical Address = Segment Address(Left Shifted 4 Times) + Offset Address
● = 0001 0000 0000 0101 0000 +
● 0101 0101 0101 0101
● --------------------------------------------
● 0001 0101 0101 1010 0101 = 155A5(H)
Logical Address
● CS:IP
● DS:BP
● SS:SP
● DS:SI
● ES:DI
Find physical address
● DS:SI  10A2 H:0F10H
● SS:SP  1C2B : 1006 H
8086 Architecture
MODULE 1
Segment Address
Offset Address
=
=
0001 0000 0000 0101 0000 (Left Shifted 4 times)
5555H = 0101 0101 0101 0101
Segment Address +Offset Address (Left Shifted 4
Times)
Physicial Address = 0001 0000 0000 0101 0000 + 0101 0101 0101 0101
= 0001 0101 0101 1010 0101
= 155A5
Eg : If Segment address is 1005H and offset address is 5555H then
the physical address will be generated as
Segment Address = 1005H = 0001 0000 0000 0101
8086 Architecture
Segment addressed by the segment value 1005H can have
offset value from 0000H to FFFFH within it i.e maximum 64K
locations can be allocated for segment
Segment Address : base address of a particular segment
Offset Address : indicates the distance of required memory
locations in the segment from base address
Offset is a 16-bit number, each segment can have a maximum
of 216 (64K) locations
BIU has a separate adder to perform physical address
calculation by adding segment and offset address.
• Segment address value is content of code,data,stack,
or extra segment register.
• Offset may be the content of IP,BX,SI,DI,SP,BP or an
immediate 16-bit value.
8086 Architecture
• Once the opcode is fetched and decoded, the external bus
becomes free while the Execution Unit is executing the
instruction.
• While the fetched instruction is executed internally, the
external bus is used to fetch the machine code of the next
instruction and arrange it in a queue called as predecoded
instruction byte queue.
• This is a 6 byte long queue, works in first-in first-out policy.
• While the opcode is fetched by the bus interface unit (BIU),
the execution unit (EU) executes the previously decoded
instruction concurrently.
8086 Architecture
MODULE 1
Instruction Queue:
• BIU gets upto 6 bytes of next instructions and stores them in
the instruction queue.
• When EU executes instructions and is ready for its next
instruction, then it simply reads the instruction from this
instruction queue resulting in increased execution speed.
• Fetching the next instruction while the current instruction
executes is called pipelining.( based on FIFO) .
• This is much faster than sending out an addresses to the
system memory and waiting for memory to send back the
next instruction byte or bytes .
8086 Architecture
MODULE 1
Execution Unit
• Contains the register set of 8086 except segment register and IP
• It has a 16-bit ALU, which performs arithmetic and logic functions.
• It has 16-bit flag register reflects the result of execution.
• The decoding unit decodes the opcode bytes issued from the
instruction byte queue.
• The timing and control circuit unit derives necessary control
signals to execute instruction opcode received from the queue,
depending upon the information from the decoding circuit.
• The EU may pass the results to the BIU for storing them in memory.
8086 Architecture
MODULE 1
MEMORY SEGMENTATION IN 8086
• In segmentation memory scheme ,the complete physically available
memory may be divided into a number of logical segments .
• Each segment is 64k Bytes in size and is addressed by one of the
segment registers.
• The 16 bit contents of the segment register actually point to the
starting location of a particular segments.
• An offset address is needed to address a specific memory location
within the segments.
• The offset address is 16 bit long so that maximum offset value can
be FFFF H.
• The CPU 8086 is able to address 1M bytes of physical memory .
• The complete 1M bytes of memory can be divided into 16 segments
, each of 64K bytes size .
• Addresses of the segments maybe assigned as 0000H to F000H .
• Offset address values are from 0000H to FFFFH .
• Physically address range 00000H to FFFFFH .
8086 Architecture
MODULE 1
In 8086, memory has four different types of
segments. These are:
• Code Segment
• Data Segment
• Stack Segment
• Extra Segment
8086 Architecture
CS305
MODULE 1
Types Of Segmentation
1. Overlapping Segment
• A segment starts at a particular address and its maximum size
can go up to 64kilobytes.
• if another segment starts along with this 64kilobytes location of
the first segment, then the two are said to be Overlapping Segment
2. Non-Overlapped Segment
• A segment starts at a particular address and its maximum size
can go up to 64kilobytes.
• if another segment starts before this 64kilobytes location of the
first segment, then the two segments are said to be Non-
Overlapped Segment.
8086 Architecture
CS305
MODULE 1
8086 Architecture
MODULE 1
Advantages of segmented memory scheme
1. Allows the memory capacity to be 1MB although the actual
addresses to b e handled are of 16 bit size.
2. Allows the placing of code,data and stack portions of the same
program in different parts(segments) of memory each time the
program is executed i.e provision for relocation is done.
3. Permits a program and data to be put into different area of
memory each time the program is executed i.e. provision for
relocation is done
Signal Description of 8086
CS305
MODULE 1
• Intel 8086 was launched in 1978.
• It was the first 16-bit microprocessor.
• This microprocessor had major improvement over the execution
speed of 8085.
• It is available as 40-pin and Dual-Inline-Package (DIP).
• It is available in three versions:
• 8086 (5 MHz)
• 8086-2 (8 MHz)
• 8086-1 (10 MHz)
• It consists of 29,000 transistors.
• It has a 16 line data bus and 20 line address bus.
• It could address up to 1 MB of memory.
• It has more than 20,000 instructions.
• It supports multiplication and division.
Signal Description of 8086
MODULE 1
THANK YOU

More Related Content

Similar to 8086Architecture.pptx

Assembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxAssembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxVickyThakur61
 
Introduction to 8086 microprocessor
Introduction to 8086 microprocessorIntroduction to 8086 microprocessor
Introduction to 8086 microprocessorShreyans Pathak
 
26677766 8086-microprocessor-architecture-110905125037-phpapp02
26677766 8086-microprocessor-architecture-110905125037-phpapp0226677766 8086-microprocessor-architecture-110905125037-phpapp02
26677766 8086-microprocessor-architecture-110905125037-phpapp02Avijeet Negel
 
microprocessor powerpointpresentation.pptx
microprocessor powerpointpresentation.pptxmicroprocessor powerpointpresentation.pptx
microprocessor powerpointpresentation.pptxXyzAvmc
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORSagar Kuntumal
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01destaw belay
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01Siva Raman
 
The Intel 8086 microprocessor
The Intel 8086 microprocessorThe Intel 8086 microprocessor
The Intel 8086 microprocessorGeorge Thomas
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxGobinathAECEJRF1101
 
8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.pptMadhan7771
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-808624happy24
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSORAnnies Minu
 
Pai unit 1_l1-l2-l3-l4_upload
Pai unit 1_l1-l2-l3-l4_uploadPai unit 1_l1-l2-l3-l4_upload
Pai unit 1_l1-l2-l3-l4_uploadYogesh Deshpande
 

Similar to 8086Architecture.pptx (20)

Microprocessor presentation
Microprocessor presentationMicroprocessor presentation
Microprocessor presentation
 
Assembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptxAssembly_Language _Programming_UNIT.pptx
Assembly_Language _Programming_UNIT.pptx
 
Introduction to 8086 microprocessor
Introduction to 8086 microprocessorIntroduction to 8086 microprocessor
Introduction to 8086 microprocessor
 
Mpmc
MpmcMpmc
Mpmc
 
26677766 8086-microprocessor-architecture-110905125037-phpapp02
26677766 8086-microprocessor-architecture-110905125037-phpapp0226677766 8086-microprocessor-architecture-110905125037-phpapp02
26677766 8086-microprocessor-architecture-110905125037-phpapp02
 
microprocessor powerpointpresentation.pptx
microprocessor powerpointpresentation.pptxmicroprocessor powerpointpresentation.pptx
microprocessor powerpointpresentation.pptx
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
 
Microprocessor systems 8085
Microprocessor systems 8085Microprocessor systems 8085
Microprocessor systems 8085
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
The Intel 8086 microprocessor
The Intel 8086 microprocessorThe Intel 8086 microprocessor
The Intel 8086 microprocessor
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt8086-microprocessor-architecture.ppt
8086-microprocessor-architecture.ppt
 
Microcontroller 8096
Microcontroller 8096Microcontroller 8096
Microcontroller 8096
 
8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
Mpi unit i_8086_architectures
Mpi unit i_8086_architecturesMpi unit i_8086_architectures
Mpi unit i_8086_architectures
 
80486 and pentium
80486 and pentium80486 and pentium
80486 and pentium
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-8086
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Pai unit 1_l1-l2-l3-l4_upload
Pai unit 1_l1-l2-l3-l4_uploadPai unit 1_l1-l2-l3-l4_upload
Pai unit 1_l1-l2-l3-l4_upload
 

Recently uploaded

Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Pooja Nehwal
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...Call Girls in Nagpur High Profile
 
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...drmarathore
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...amitlee9823
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussDrMSajidNoor
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...ranjana rawat
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...amitlee9823
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...motiram463
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...Call Girls in Nagpur High Profile
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...Pooja Nehwal
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
 
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
 
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
Abort pregnancy in research centre+966_505195917 abortion pills in Kuwait cyt...
 
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discuss
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...Book Sex Workers Available Pune Call Girls Yerwada  6297143586 Call Hot India...
Book Sex Workers Available Pune Call Girls Yerwada 6297143586 Call Hot India...
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Ravet ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 

8086Architecture.pptx

  • 2. 8086 Architecture The 8086 architecture supports • a 16-bit ALU. • a set of 16 bit registers • provides segmented memory addressing scheme • a rich instruction set. • Powerful interrupt structure • Fetched instruction queue for overlapped fetching and execution step.
  • 4. 8086 Architecture CS305 MODULE 1 • The architecture of 8086 can be divided into two parts • Bus Interface unit (BIU) • Execution unit (EU) Bus Interface Unit contains: • Segment Registers • Instruction Pointer • 6-Byte Instruction Queue Execution Unit contains: • General Purposes Registers • Stack Pointer • Base Pointer • Index Registers • ALU • Flag Register • Instruction Decoder • Timing & Control Unit
  • 5. 8086 Architecture The bus interface unit is responsible for • physical address calculations • predecoding instruction byte queue ( 6 bytes long). • making the system bus signal available for external devices. • The 8086 addresses a segmented memory. • The complete physical address which is 20-bits long is generated using segment and offset registers, each 16-bits long Generating a physical address: 1. The content of segment register (segment address) is shifted left bit-wise four times. 2. The content of an offset register (offset address) is added to the result of the previous shift operation. • These two operations together produce a 20-bit physical address. Address + Offset Address = Physical Address(Left Shifted)
  • 6. 8086 Architecture Logical address is in the form of: Base Address: Offset-> Offset is the displacement of the memory location from the starting location of the segment. To calculate the physical address of the memory, BIU uses the following formula: Physical Address = Base Address of Segment * 10 + Offset
  • 7. Hexadecimal number 8421 Decimal (D) Hexa(H) Binary 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 6 6 0110 7 7 0111 8 8 1000 9 9 1001 10 A 1010 11 B 12 C 13 D 14 E 15 F 16 10
  • 8. Physical Address calculation ● Segment Address = 1005H = 0001 0000 0000 0101 ● Offset Address =5555H = 0101 0101 0101 0101 ● Physical Address = Segment Address(Left Shifted 4 Times) + Offset Address ● = 0001 0000 0000 0101 0000 + ● 0101 0101 0101 0101 ● -------------------------------------------- ● 0001 0101 0101 1010 0101 = 155A5(H)
  • 9. Logical Address ● CS:IP ● DS:BP ● SS:SP ● DS:SI ● ES:DI
  • 10. Find physical address ● DS:SI  10A2 H:0F10H ● SS:SP  1C2B : 1006 H
  • 11. 8086 Architecture MODULE 1 Segment Address Offset Address = = 0001 0000 0000 0101 0000 (Left Shifted 4 times) 5555H = 0101 0101 0101 0101 Segment Address +Offset Address (Left Shifted 4 Times) Physicial Address = 0001 0000 0000 0101 0000 + 0101 0101 0101 0101 = 0001 0101 0101 1010 0101 = 155A5 Eg : If Segment address is 1005H and offset address is 5555H then the physical address will be generated as Segment Address = 1005H = 0001 0000 0000 0101
  • 12. 8086 Architecture Segment addressed by the segment value 1005H can have offset value from 0000H to FFFFH within it i.e maximum 64K locations can be allocated for segment Segment Address : base address of a particular segment Offset Address : indicates the distance of required memory locations in the segment from base address Offset is a 16-bit number, each segment can have a maximum of 216 (64K) locations BIU has a separate adder to perform physical address calculation by adding segment and offset address. • Segment address value is content of code,data,stack, or extra segment register. • Offset may be the content of IP,BX,SI,DI,SP,BP or an immediate 16-bit value.
  • 13. 8086 Architecture • Once the opcode is fetched and decoded, the external bus becomes free while the Execution Unit is executing the instruction. • While the fetched instruction is executed internally, the external bus is used to fetch the machine code of the next instruction and arrange it in a queue called as predecoded instruction byte queue. • This is a 6 byte long queue, works in first-in first-out policy. • While the opcode is fetched by the bus interface unit (BIU), the execution unit (EU) executes the previously decoded instruction concurrently.
  • 14. 8086 Architecture MODULE 1 Instruction Queue: • BIU gets upto 6 bytes of next instructions and stores them in the instruction queue. • When EU executes instructions and is ready for its next instruction, then it simply reads the instruction from this instruction queue resulting in increased execution speed. • Fetching the next instruction while the current instruction executes is called pipelining.( based on FIFO) . • This is much faster than sending out an addresses to the system memory and waiting for memory to send back the next instruction byte or bytes .
  • 15. 8086 Architecture MODULE 1 Execution Unit • Contains the register set of 8086 except segment register and IP • It has a 16-bit ALU, which performs arithmetic and logic functions. • It has 16-bit flag register reflects the result of execution. • The decoding unit decodes the opcode bytes issued from the instruction byte queue. • The timing and control circuit unit derives necessary control signals to execute instruction opcode received from the queue, depending upon the information from the decoding circuit. • The EU may pass the results to the BIU for storing them in memory.
  • 16. 8086 Architecture MODULE 1 MEMORY SEGMENTATION IN 8086 • In segmentation memory scheme ,the complete physically available memory may be divided into a number of logical segments . • Each segment is 64k Bytes in size and is addressed by one of the segment registers. • The 16 bit contents of the segment register actually point to the starting location of a particular segments. • An offset address is needed to address a specific memory location within the segments. • The offset address is 16 bit long so that maximum offset value can be FFFF H. • The CPU 8086 is able to address 1M bytes of physical memory . • The complete 1M bytes of memory can be divided into 16 segments , each of 64K bytes size . • Addresses of the segments maybe assigned as 0000H to F000H . • Offset address values are from 0000H to FFFFH . • Physically address range 00000H to FFFFFH .
  • 17. 8086 Architecture MODULE 1 In 8086, memory has four different types of segments. These are: • Code Segment • Data Segment • Stack Segment • Extra Segment
  • 18. 8086 Architecture CS305 MODULE 1 Types Of Segmentation 1. Overlapping Segment • A segment starts at a particular address and its maximum size can go up to 64kilobytes. • if another segment starts along with this 64kilobytes location of the first segment, then the two are said to be Overlapping Segment 2. Non-Overlapped Segment • A segment starts at a particular address and its maximum size can go up to 64kilobytes. • if another segment starts before this 64kilobytes location of the first segment, then the two segments are said to be Non- Overlapped Segment.
  • 20. 8086 Architecture MODULE 1 Advantages of segmented memory scheme 1. Allows the memory capacity to be 1MB although the actual addresses to b e handled are of 16 bit size. 2. Allows the placing of code,data and stack portions of the same program in different parts(segments) of memory each time the program is executed i.e provision for relocation is done. 3. Permits a program and data to be put into different area of memory each time the program is executed i.e. provision for relocation is done
  • 21. Signal Description of 8086 CS305 MODULE 1 • Intel 8086 was launched in 1978. • It was the first 16-bit microprocessor. • This microprocessor had major improvement over the execution speed of 8085. • It is available as 40-pin and Dual-Inline-Package (DIP). • It is available in three versions: • 8086 (5 MHz) • 8086-2 (8 MHz) • 8086-1 (10 MHz) • It consists of 29,000 transistors. • It has a 16 line data bus and 20 line address bus. • It could address up to 1 MB of memory. • It has more than 20,000 instructions. • It supports multiplication and division.
  • 22. Signal Description of 8086 MODULE 1