SlideShare a Scribd company logo
1 of 4
Intel 8086 Assembly language Programming
History
Intel’s first 16-bit CPU was the 8086. A version of the 8086 that used an 8-bit data bus,
the 8088, was released later to permit lower-cost designs. The 8088 was used in the very
popular IBM PC and many later compatible machines.
Intel’s first 32-bit CPU was the 80386. It was designed to be backwards compatible with
the large amount of software, which was available for the 8086. The 80386 extended the
data and address registers to 32 bits. The Intel ’386 also included a sophisticated memory
management architecture that allowed virtual memory and memory protection to be
implemented. This same basic 80386 architecture is used in the Pentium series and
compatible processors.

Processor              Register               Data Bus                Address Bus
Model                  Width                  Width                   Width

8086                   16                     16                      20
8088                   16                     8                       20
i386                   32                     32                      32
i386SX                 32                     16                      24
i386EX 3              32                     16                      24
Pentium                32                     64                      32

Features of 8086
- 8086 is a 16bit processor. It’s ALU, internal registers works with 16bit binary
word
- 8086 has a 16bit data bus. It can read or write data to a memory/port either 16bits
or 8 bit at a time
- 8086 has a 20bit address bus which means, it can address upto 220 = 1MB memory
location
- Frequency range of 8086 is 6-10 MHz




Internal Architecture of 8086
Registers
The 8086 includes four general-purpose 16-bit data registers (AX, BX, CX and DX).
These registers can be used in arithmetic or logic operations and as temporary storage.
The most/least significant byte of each register can also be addressed directly (e.g. AL
is the LS byte of AX, CH is MS byte of CX, etc.)
Each register has also has a special purpose as shown below
Register        Special Purpose
AX           multiply/divide
BX          index register for MOVE
CX          count register for string operations
DX           port address for IN and OUT

There is a 16-bit program flags register. Three of the bits indicate whether the result of
the most recent arithmetic/logical instruction was zero (ZF), has a negative sign (SF), or
generated a carry or borrow (CF) from the most-significant bit. The overflow bit (OF)
indicates overflow if the operands are signed (it’s the carry/borrow from the second
mostsignificant
bit). A fourth bit, the interrupt enable bit (IF) controls whether maskable
interrupt requests (on the IRQ pin) are recognized.

0                                                                                       16
X    X     X     X     O     D     I     T     S    Z     X     A     X     P     X     C
MEMORY SEGMENTATION




             Advantages of memory segmentation
AAllow the memory capacity to be 1Mb even though the addresses associated with the
individual instructions are only 16 bits wide.
i Facilitate the use of separate memory areas for the program, its data and the stack.
FPermit a program and/or its data to be put into different areas of memory each time the
program is executed.
pMultitasking becomes easy.
Segment/Offset Addressing

Since address registers and address operands are only 16 bits they can only address 64k
bytes. In order to address the 20-bit address range of the 8086, physical addresses (those
that are put on the address bus) are always formed by adding the values of one of the
segment registers to the 16-bit “offset” address to form a 20-bit address.
The segment registers themselves only contain the most-significant 16 bits of the 20-bit
value that is contributed by the segment registers. The least significant four bits of the
segment address are always zero.
By default, the DS (data segment) register is used to form addresses associated with data
transfer instructions (e.g. MOV), the CS (code segment) register is added to the IP
register (e.g. for JMP or CALL), and SS is added to SP (e.g. PUSH or to save/restore
addresses during CALL/RET or INT instructions). There is also an “extra” segment
register, ES, that is used when access to other locations in memory is required.




PIN OUT OF 8086

More Related Content

What's hot

Segments
SegmentsSegments
Segments
aviban
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
aviban
 

What's hot (20)

Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)Architecture of 80386(www.munnuz.co.cc)
Architecture of 80386(www.munnuz.co.cc)
 
Addressing modes of 80386
Addressing modes of 80386Addressing modes of 80386
Addressing modes of 80386
 
Segments
SegmentsSegments
Segments
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
80386
8038680386
80386
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
 
8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
80386 microprocessor
80386 microprocessor80386 microprocessor
80386 microprocessor
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.M
 
80386 Architecture
80386 Architecture80386 Architecture
80386 Architecture
 
Address translation-mechanism-of-80386 by aniket bhute
Address translation-mechanism-of-80386 by aniket bhuteAddress translation-mechanism-of-80386 by aniket bhute
Address translation-mechanism-of-80386 by aniket bhute
 
Protected mode memory addressing 8086
Protected mode memory addressing 8086Protected mode memory addressing 8086
Protected mode memory addressing 8086
 
80386 processor
80386 processor80386 processor
80386 processor
 
Cs14 406 mod1
Cs14 406 mod1Cs14 406 mod1
Cs14 406 mod1
 
8086
80868086
8086
 

Similar to 8086 Microprocessor(Visit Munnuz Co Cc)

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 handout for chapter one and two
8086 handout for chapter one and two8086 handout for chapter one and two
8086 handout for chapter one and two
haymanotyehuala
 
8086 architecture basics
8086 architecture basics8086 architecture basics
8086 architecture basics
Pundlik Rathod
 

Similar to 8086 Microprocessor(Visit Munnuz Co Cc) (20)

Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
8086 PPt-2021.pptx
8086 PPt-2021.pptx8086 PPt-2021.pptx
8086 PPt-2021.pptx
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
 
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
 
Microprocessor lecture 2
Microprocessor lecture   2Microprocessor lecture   2
Microprocessor lecture 2
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
 
Students corner131
Students corner131Students corner131
Students corner131
 
8051 microcontroller
 8051 microcontroller 8051 microcontroller
8051 microcontroller
 
8086 handout for chapter one and two
8086 handout for chapter one and two8086 handout for chapter one and two
8086 handout for chapter one and two
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
8086 architecture basics
8086 architecture basics8086 architecture basics
8086 architecture basics
 
Assembly language by Puskar Suwal Complete Reference
Assembly language by Puskar Suwal Complete Reference Assembly language by Puskar Suwal Complete Reference
Assembly language by Puskar Suwal Complete Reference
 
introduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's applicationintroduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's application
 
physical_address segmentation.pdf
physical_address segmentation.pdfphysical_address segmentation.pdf
physical_address segmentation.pdf
 
8086
80868086
8086
 
Microprocessor.pdf
Microprocessor.pdfMicroprocessor.pdf
Microprocessor.pdf
 
Microprocessor Architecture.pptx
Microprocessor Architecture.pptxMicroprocessor Architecture.pptx
Microprocessor Architecture.pptx
 
Management of system software
Management of system softwareManagement of system software
Management of system software
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Introduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.pptIntroduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.ppt
 

Recently uploaded

Recently uploaded (20)

Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

8086 Microprocessor(Visit Munnuz Co Cc)

  • 1. Intel 8086 Assembly language Programming History Intel’s first 16-bit CPU was the 8086. A version of the 8086 that used an 8-bit data bus, the 8088, was released later to permit lower-cost designs. The 8088 was used in the very popular IBM PC and many later compatible machines. Intel’s first 32-bit CPU was the 80386. It was designed to be backwards compatible with the large amount of software, which was available for the 8086. The 80386 extended the data and address registers to 32 bits. The Intel ’386 also included a sophisticated memory management architecture that allowed virtual memory and memory protection to be implemented. This same basic 80386 architecture is used in the Pentium series and compatible processors. Processor Register Data Bus Address Bus Model Width Width Width 8086 16 16 20 8088 16 8 20 i386 32 32 32 i386SX 32 16 24 i386EX 3 32 16 24 Pentium 32 64 32 Features of 8086 - 8086 is a 16bit processor. It’s ALU, internal registers works with 16bit binary word - 8086 has a 16bit data bus. It can read or write data to a memory/port either 16bits or 8 bit at a time - 8086 has a 20bit address bus which means, it can address upto 220 = 1MB memory location - Frequency range of 8086 is 6-10 MHz Internal Architecture of 8086
  • 2. Registers The 8086 includes four general-purpose 16-bit data registers (AX, BX, CX and DX). These registers can be used in arithmetic or logic operations and as temporary storage. The most/least significant byte of each register can also be addressed directly (e.g. AL is the LS byte of AX, CH is MS byte of CX, etc.) Each register has also has a special purpose as shown below Register Special Purpose AX multiply/divide BX index register for MOVE CX count register for string operations DX port address for IN and OUT There is a 16-bit program flags register. Three of the bits indicate whether the result of the most recent arithmetic/logical instruction was zero (ZF), has a negative sign (SF), or generated a carry or borrow (CF) from the most-significant bit. The overflow bit (OF) indicates overflow if the operands are signed (it’s the carry/borrow from the second mostsignificant bit). A fourth bit, the interrupt enable bit (IF) controls whether maskable interrupt requests (on the IRQ pin) are recognized. 0 16 X X X X O D I T S Z X A X P X C
  • 3. MEMORY SEGMENTATION Advantages of memory segmentation AAllow the memory capacity to be 1Mb even though the addresses associated with the individual instructions are only 16 bits wide. i Facilitate the use of separate memory areas for the program, its data and the stack. FPermit a program and/or its data to be put into different areas of memory each time the program is executed. pMultitasking becomes easy.
  • 4. Segment/Offset Addressing Since address registers and address operands are only 16 bits they can only address 64k bytes. In order to address the 20-bit address range of the 8086, physical addresses (those that are put on the address bus) are always formed by adding the values of one of the segment registers to the 16-bit “offset” address to form a 20-bit address. The segment registers themselves only contain the most-significant 16 bits of the 20-bit value that is contributed by the segment registers. The least significant four bits of the segment address are always zero. By default, the DS (data segment) register is used to form addresses associated with data transfer instructions (e.g. MOV), the CS (code segment) register is added to the IP register (e.g. for JMP or CALL), and SS is added to SP (e.g. PUSH or to save/restore addresses during CALL/RET or INT instructions). There is also an “extra” segment register, ES, that is used when access to other locations in memory is required. PIN OUT OF 8086