SlideShare a Scribd company logo
Architecture
 29,000 Transistors
 16 bit Processor
 16 Bit Registers
 Registers can hold unsigned data in the range of 0-65536.
 Can address 2^16 = 64 KB Memory (RAM)
 Addresses Segmented Memory
 Physical address = Segment starting address + offset
Segment Register Pointer/Index Register
(16 bit) (16 bit)
Segment Address (16bit)
Offset Address (16 bit)
+
Physical Address (20 bit)
Left Shift 4 times Segment Address (16bit) 0000 20 bit
 2^20 =1048576 (1MB)
 Example:
Segment Address = 1005H
Offset Address = 5555H
Segment Address  0001 0000 0000 0101
4 Times Left Shifted  0001 0000 0000 0101 0000
Segment address +
Offset Address/  0101 0101 0101 0101
Effective Address ----------------------------------------
Physical Address  0001 0101 0101 1010 0101
------------------------------------------
1 5 5 A 5
Two independent functional units
 Bus Interface Unit
 Execution Unit
Bus Interface Unit
 Memory Address and Data bus Interface
 Segment registers
 Instruction Pointer (IP) Register
 Instruction queue
Execution Unit
 Data Registers
 Pointer and Index Registers
 Flag Register -PSW
 ALU
 Control Unit
8086 architecture
8086 architecture
 Fetches the Instruction from memory
 store it in Instruction Queue.
 Read data from port or memory.
 Write data to port or memory.
 Handles transfers of data and addresses on the buses
 Direct the BIU where to fetch instructions or data
 Decodes instructions.
 Executes instruction.
 Control circuit directs internal operations.
 16-bit ALU -- add, subtract, AND, OR, XOR, increment,
decrement, complement or shift binary numbers.
 Does not use buses.
 First In First Out register set – Queue
 6 byte Queue
 BIU fetches up to 6 bytes of upcoming instruction.
 Stores the pre fetched bytes in IQ when EU executes current
instruction.
 When EU is ready ,it reads the Instruction bytes from IQ
 Fasten the instruction fetching process
 General Data Registers
 Segment Registers
 Pointers and Index Registers
 Flag Register
 AX,BX,CX,DX – 16 Bit registers.
 Contains 2 8-bit registers.
 AH,BH,CH,DH – Higher order 8 bit of a word.
 AL,BL,CL,DL – Lower order 8 bit of a word.
 AX,AH,AL –16 bit and 8bit accumulators.
 BX,BH,BL – Base register. Stores effective address for address calculation.
 CX,CH,CL – default counter or count register in loop/string instruction.
 DX,DH,DL- Data register-Implicit operand or destination or port number.
 1MB memory is divided into 16 logical segments
 Each segment contains 64KB of memory.
 Four segment registers
 Store segment starting address
Code segment (CS)
 Addresses segment with processor Instructions or code
 Instruction pointer(IP) contain offset address
 Automatically updated during far jump, far call and far return instructions.
 Cannot be changed directly.
Stack segment (SS)
 Address stack segment of memory
 Memory used to store stack data
 Processor uses stack for temporarly storing important data.(eg.
Content of processor register).
 BP or SP contains offset/effective address.
Data segment (DS)
 Address segment with program data.
 Data referenced by general registers (AX, BX, CX, DX) and
index register (SI, DI) is located in the data segment.
Extra data Segment(ES)
 It also address segment with program data.
 By default DI register contain offset address in string
manipulation instructions.
Pointer Registers:
 Contain offset address
 IP -offset for code segment (CS)
 Stack Pointer(SP), Base Pointer(BP) - offset for stack segment(SS)
Index Registers :
 Used for indexed, based indexed and register indirect addressing
 Source Index(SI) - source data addresses in string manipulation
instructions.
 Destination Index (DI) - destination data address in string
manipulation instructions.
 16 bit Program Status Word (PSW)
 7 bits are unused
 9 bits are used as 9 flags
 6 Condition Flags
 3 Control Flags
 Reflect the result of previous ALU operation.
 Sign Flag(SF) – MSB of the result. Negative number – 1
 Zero Flag (ZF)- set to 1 if result is zero
 Parity Flag (PF)- set to 1 if low–order 8 bits contain an even number of 1’s .
 Carry Flag(CF) –set to 1 if there is carry in addition and if borrow is needed
in subtraction.
 Auxiliary carry Flag (AF) –If there is a carry/barrow from lower nibble (i.e.
D0 – D3) to upper nibble (i.e. D4 – D7), the AC flag is set .
 Overflow Flag (OF) – Set to 1 if the result signed operation is overflow to the
sign bit.
1. 2345H+ 3219H
 0010 0011 0100 0101
0011 0010 0001 1001
----------------------------------
0101 0101 0101 1110
----------------------------------
SF=ZF =PF= CF=AF=OF=0
2. 5439H+ 456AH
0101 0100 0011 1001
0100 0101 0110 1010
----------------------------------
1001 1001 1010 0011
SF=PF=AF=OF=1
ZF=CF=0
Interrupt Flag (IF):
 It is an interrupt enable/disable flag.
 If it is set, the maskable interrupt can be recognized otherwise ignored.
Trap Flag (TF):
 It is used for single step control.
 If it is set one instruction of a program is executed at a time for debugging.
Direction Flag (DF):
 It is used in string operation.
 If it is set, string bytes are accessed from higher memory address to lower memory
address.
 1.Given that segment register CS = 5203 ,IP =005A. Calculate
the physical address of next instruction to be executed.
 2. Given that the EA of a datum is 2359 and the
DS=4908,what is the physical address of the datum?
 3. If the segment register (SS) : 2402. To address the memory
whose physical address of 244A0 corresponding to this
segment, what will be the offset/effective address.
3. Find the sum and flag values for AF,SF,ZF,CF,OF,PF
after adding 62A0 to each of the following:
(a) 4321 (b) CFA0 (c) 9D60
4. Find the difference and flag values for
SF,ZF,CF,OF,PF after subtracting adding 4AE0 from
each of the following.
(a) 5D90 (b) 1234

More Related Content

PPTX
instruction format and addressing modes
RamaPrabha24
 
PPT
Addressing modes
Mahesh Kumar Attri
 
PPT
8086-instruction-set-ppt
jemimajerome
 
PPTX
Presentation1
Haya Saani
 
PPTX
Presentation on 8086 microprocessor
Diponkor Bala
 
PPTX
Stacks & subroutines 1
deval patel
 
PPTX
Instruction Set Architecture
Dilum Bandara
 
PPTX
Addressing modes of 8086
saurav kumar
 
instruction format and addressing modes
RamaPrabha24
 
Addressing modes
Mahesh Kumar Attri
 
8086-instruction-set-ppt
jemimajerome
 
Presentation1
Haya Saani
 
Presentation on 8086 microprocessor
Diponkor Bala
 
Stacks & subroutines 1
deval patel
 
Instruction Set Architecture
Dilum Bandara
 
Addressing modes of 8086
saurav kumar
 

What's hot (20)

DOCX
8086 pin diagram description
Akhil Singal
 
PPTX
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
PPTX
Jump&Loop instruction
josnapv
 
PPT
8086 assembly language
Mir Majid
 
PPTX
ADDRESSING MODES
Sadaf Rasheed
 
PPTX
Register introduction
maamir farooq
 
PPTX
Memory banking-of-8086-final
Estiak Khan
 
PPTX
Interrupts
Zara Tariq
 
PPTX
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
PPTX
Unit 1 computer architecture (1)
DevaKumari Vijay
 
PPT
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
PDF
Computer Organization Lecture Notes
FellowBuddy.com
 
PPTX
Floating point arithmetic operations (1)
cs19club
 
PPTX
Machine cycles
WafaAbied
 
PPT
Registers
Sahil Bansal
 
PPTX
8086 in minimum mode
Sridari Iyer
 
PDF
8086 instructions
Ravi Anand
 
PPT
8086 microprocessor assembler directives.ppt
NaveenKumar5162
 
PPTX
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
8086 pin diagram description
Akhil Singal
 
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
Jump&Loop instruction
josnapv
 
8086 assembly language
Mir Majid
 
ADDRESSING MODES
Sadaf Rasheed
 
Register introduction
maamir farooq
 
Memory banking-of-8086-final
Estiak Khan
 
Interrupts
Zara Tariq
 
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
Unit 1 computer architecture (1)
DevaKumari Vijay
 
pin-diagram-details-of-8086-microprocessor
barsharoy19
 
Computer Organization Lecture Notes
FellowBuddy.com
 
Floating point arithmetic operations (1)
cs19club
 
Machine cycles
WafaAbied
 
Registers
Sahil Bansal
 
8086 in minimum mode
Sridari Iyer
 
8086 instructions
Ravi Anand
 
8086 microprocessor assembler directives.ppt
NaveenKumar5162
 
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
Ad

Viewers also liked (12)

PPTX
Microcontroller1
karthiga selvaraju
 
PPTX
Pretzelmaker Franchise Opportunity Available in Savannah, Georgia!
Pretzelmaker
 
PPTX
Présentation procédure d'achat
Alice Cart-Tanneur
 
PPTX
Presentation PrintArt
Nicky Verbeek
 
PPTX
Addressing modes
karthiga selvaraju
 
PPTX
ระบบสื่อสารข้อมูลสำหรับเครือข่ายคอมพิวเตอร์
Warayut Pakdee
 
PPT
Addressing modes
karthiga selvaraju
 
PPTX
8086 Instruction set
karthiga selvaraju
 
PPTX
Las contribuciones
randy peña
 
DOCX
Kamil final
Kamil Mr
 
PPTX
Integracja android z facebookiem na przykładzie aplikacji
Mateusz Dobrowolski
 
PPTX
Pretzelmaker Franchise Opportunity Available in Huntsville, Alabama!
Pretzelmaker
 
Microcontroller1
karthiga selvaraju
 
Pretzelmaker Franchise Opportunity Available in Savannah, Georgia!
Pretzelmaker
 
Présentation procédure d'achat
Alice Cart-Tanneur
 
Presentation PrintArt
Nicky Verbeek
 
Addressing modes
karthiga selvaraju
 
ระบบสื่อสารข้อมูลสำหรับเครือข่ายคอมพิวเตอร์
Warayut Pakdee
 
Addressing modes
karthiga selvaraju
 
8086 Instruction set
karthiga selvaraju
 
Las contribuciones
randy peña
 
Kamil final
Kamil Mr
 
Integracja android z facebookiem na przykładzie aplikacji
Mateusz Dobrowolski
 
Pretzelmaker Franchise Opportunity Available in Huntsville, Alabama!
Pretzelmaker
 
Ad

Similar to 8086 architecture (20)

PPT
26677766 8086-microprocessor-architecture
Saurabh Jain
 
PPTX
Lecture2
misgina Mengesha
 
PPT
intel 8086 introduction
Homoud Alsohaibi
 
PPTX
mpmc.pptxUNIT 5 FPGA DESIGN r16.pptxUNIT 5 FPGA DESIGN r16.pptx
Eswar610868
 
PPTX
Flag registers, addressing modes, instruction set
aviban
 
PPT
Arch 8086
Mohansonale1
 
PDF
8086 Microprocessor
Vijay Kumar
 
PPTX
Chapter 2
Ramesh Rangaswamy
 
PPTX
The 8086 microprocessor
Adarsh College, Hingoli
 
PPT
Intel 8086
Manoj VNV
 
PDF
8086 microprocessor and interfacing ppt about all thing pdf
LeulTeshome1
 
PPT
8051 Programming Instruction Set
Shreyans Pathak
 
PDF
8086 Architecture, Pin diagram, Addressing modes (3).pdf
YHarika2
 
PDF
physical_address segmentation.pdf
Swapnil511014
 
PPT
8086 ppt.ppt full understanding of micro
revanthkumartr
 
PPT
8086
Ravi Anand
 
PPT
8086
Ravi Anand
 
PDF
8086 Architecture ppt.pdf
UmamaheswariV4
 
PPT
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
PPT
8086microprocessor 130821100244-phpapp02
raone1989
 
26677766 8086-microprocessor-architecture
Saurabh Jain
 
intel 8086 introduction
Homoud Alsohaibi
 
mpmc.pptxUNIT 5 FPGA DESIGN r16.pptxUNIT 5 FPGA DESIGN r16.pptx
Eswar610868
 
Flag registers, addressing modes, instruction set
aviban
 
Arch 8086
Mohansonale1
 
8086 Microprocessor
Vijay Kumar
 
The 8086 microprocessor
Adarsh College, Hingoli
 
Intel 8086
Manoj VNV
 
8086 microprocessor and interfacing ppt about all thing pdf
LeulTeshome1
 
8051 Programming Instruction Set
Shreyans Pathak
 
8086 Architecture, Pin diagram, Addressing modes (3).pdf
YHarika2
 
physical_address segmentation.pdf
Swapnil511014
 
8086 ppt.ppt full understanding of micro
revanthkumartr
 
8086 Architecture ppt.pdf
UmamaheswariV4
 
8086microprocessor 130821100244-phpapp02
Murad Mondol
 
8086microprocessor 130821100244-phpapp02
raone1989
 

Recently uploaded (20)

PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Principles of Food Science and Nutritions
Dr. Yogesh Kumar Kosariya
 
PPTX
easa module 3 funtamental electronics.pptx
tryanothert7
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
Introduction of deep learning in cse.pptx
fizarcse
 
PPTX
AgentX UiPath Community Webinar series - Delhi
RohitRadhakrishnan8
 
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
PPT
Ppt for engineering students application on field effect
lakshmi.ec
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PDF
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PDF
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
PDF
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Principles of Food Science and Nutritions
Dr. Yogesh Kumar Kosariya
 
easa module 3 funtamental electronics.pptx
tryanothert7
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
dse_final_merit_2025_26 gtgfffffcjjjuuyy
rushabhjain127
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Introduction of deep learning in cse.pptx
fizarcse
 
AgentX UiPath Community Webinar series - Delhi
RohitRadhakrishnan8
 
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
Ppt for engineering students application on field effect
lakshmi.ec
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
flutter Launcher Icons, Splash Screens & Fonts
Ahmed Mohamed
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 

8086 architecture

  • 2.  29,000 Transistors  16 bit Processor  16 Bit Registers  Registers can hold unsigned data in the range of 0-65536.  Can address 2^16 = 64 KB Memory (RAM)  Addresses Segmented Memory
  • 3.  Physical address = Segment starting address + offset Segment Register Pointer/Index Register (16 bit) (16 bit) Segment Address (16bit) Offset Address (16 bit) + Physical Address (20 bit) Left Shift 4 times Segment Address (16bit) 0000 20 bit
  • 4.  2^20 =1048576 (1MB)  Example: Segment Address = 1005H Offset Address = 5555H Segment Address  0001 0000 0000 0101 4 Times Left Shifted  0001 0000 0000 0101 0000 Segment address + Offset Address/  0101 0101 0101 0101 Effective Address ---------------------------------------- Physical Address  0001 0101 0101 1010 0101 ------------------------------------------ 1 5 5 A 5
  • 5. Two independent functional units  Bus Interface Unit  Execution Unit Bus Interface Unit  Memory Address and Data bus Interface  Segment registers  Instruction Pointer (IP) Register  Instruction queue
  • 6. Execution Unit  Data Registers  Pointer and Index Registers  Flag Register -PSW  ALU  Control Unit
  • 9.  Fetches the Instruction from memory  store it in Instruction Queue.  Read data from port or memory.  Write data to port or memory.  Handles transfers of data and addresses on the buses
  • 10.  Direct the BIU where to fetch instructions or data  Decodes instructions.  Executes instruction.  Control circuit directs internal operations.  16-bit ALU -- add, subtract, AND, OR, XOR, increment, decrement, complement or shift binary numbers.  Does not use buses.
  • 11.  First In First Out register set – Queue  6 byte Queue  BIU fetches up to 6 bytes of upcoming instruction.  Stores the pre fetched bytes in IQ when EU executes current instruction.  When EU is ready ,it reads the Instruction bytes from IQ  Fasten the instruction fetching process
  • 12.  General Data Registers  Segment Registers  Pointers and Index Registers  Flag Register
  • 13.  AX,BX,CX,DX – 16 Bit registers.  Contains 2 8-bit registers.  AH,BH,CH,DH – Higher order 8 bit of a word.  AL,BL,CL,DL – Lower order 8 bit of a word.  AX,AH,AL –16 bit and 8bit accumulators.  BX,BH,BL – Base register. Stores effective address for address calculation.  CX,CH,CL – default counter or count register in loop/string instruction.  DX,DH,DL- Data register-Implicit operand or destination or port number.
  • 14.  1MB memory is divided into 16 logical segments  Each segment contains 64KB of memory.  Four segment registers  Store segment starting address Code segment (CS)  Addresses segment with processor Instructions or code  Instruction pointer(IP) contain offset address  Automatically updated during far jump, far call and far return instructions.  Cannot be changed directly.
  • 15. Stack segment (SS)  Address stack segment of memory  Memory used to store stack data  Processor uses stack for temporarly storing important data.(eg. Content of processor register).  BP or SP contains offset/effective address.
  • 16. Data segment (DS)  Address segment with program data.  Data referenced by general registers (AX, BX, CX, DX) and index register (SI, DI) is located in the data segment. Extra data Segment(ES)  It also address segment with program data.  By default DI register contain offset address in string manipulation instructions.
  • 17. Pointer Registers:  Contain offset address  IP -offset for code segment (CS)  Stack Pointer(SP), Base Pointer(BP) - offset for stack segment(SS) Index Registers :  Used for indexed, based indexed and register indirect addressing  Source Index(SI) - source data addresses in string manipulation instructions.  Destination Index (DI) - destination data address in string manipulation instructions.
  • 18.  16 bit Program Status Word (PSW)  7 bits are unused  9 bits are used as 9 flags  6 Condition Flags  3 Control Flags
  • 19.  Reflect the result of previous ALU operation.  Sign Flag(SF) – MSB of the result. Negative number – 1  Zero Flag (ZF)- set to 1 if result is zero  Parity Flag (PF)- set to 1 if low–order 8 bits contain an even number of 1’s .  Carry Flag(CF) –set to 1 if there is carry in addition and if borrow is needed in subtraction.  Auxiliary carry Flag (AF) –If there is a carry/barrow from lower nibble (i.e. D0 – D3) to upper nibble (i.e. D4 – D7), the AC flag is set .  Overflow Flag (OF) – Set to 1 if the result signed operation is overflow to the sign bit.
  • 20. 1. 2345H+ 3219H  0010 0011 0100 0101 0011 0010 0001 1001 ---------------------------------- 0101 0101 0101 1110 ---------------------------------- SF=ZF =PF= CF=AF=OF=0 2. 5439H+ 456AH 0101 0100 0011 1001 0100 0101 0110 1010 ---------------------------------- 1001 1001 1010 0011 SF=PF=AF=OF=1 ZF=CF=0
  • 21. Interrupt Flag (IF):  It is an interrupt enable/disable flag.  If it is set, the maskable interrupt can be recognized otherwise ignored. Trap Flag (TF):  It is used for single step control.  If it is set one instruction of a program is executed at a time for debugging. Direction Flag (DF):  It is used in string operation.  If it is set, string bytes are accessed from higher memory address to lower memory address.
  • 22.  1.Given that segment register CS = 5203 ,IP =005A. Calculate the physical address of next instruction to be executed.  2. Given that the EA of a datum is 2359 and the DS=4908,what is the physical address of the datum?  3. If the segment register (SS) : 2402. To address the memory whose physical address of 244A0 corresponding to this segment, what will be the offset/effective address.
  • 23. 3. Find the sum and flag values for AF,SF,ZF,CF,OF,PF after adding 62A0 to each of the following: (a) 4321 (b) CFA0 (c) 9D60 4. Find the difference and flag values for SF,ZF,CF,OF,PF after subtracting adding 4AE0 from each of the following. (a) 5D90 (b) 1234