SlideShare a Scribd company logo
1 of 14
NRI Institute of Research & Technology
โ€ข By NIKHIL KUMAR
NIRT BHOPAL
REGISTER ORGANISATION OF 8086
โ€ข Introduction to Computer Processor
โ€ข Registers in 8086 Microprocessor.
โ€ข General purpose Register.
โ€ข Segment Registers.
โ€ข Pointers and Index Registers.
โ€ข FLAG Registers.
โ€ข Status Flag
โ€ข Control flag
โ€ข Conclusion.
Contents
Introduction To Computer Processor
A central processing
unit (CPU) is the
hardware within a
computer system
which carries out the
instructions of a
computer program by
performing the basic
arithmetical, logical,
and input/output
operations of the
system.
Registers in 8086 Microprocessor
โ€ข All the registers of 8086 are 16-bit registers. The general purpose
registers can be used as either 8-bit registers or 16-bit registers.
โ€ข The register set of 8086 can be categorized into 4 different
groups.
CS
SS
DS
ES
Segment
BP
Index
SP
SI
DI
AH
BH
CH
DH DL
CL
BL
AL
General Purpose
Status and Control
Flags
IP
AX
BX
CX
DX
pointer
General purpose Register
The registers AX,
BX,CX and DX
are the general
purpose 16-bit
registers.
AX is used as 16-
bit accumulator.
The lower 8-bit
is designated as
AL and higher 8-
bit is designated
as AH. AL can be
used as an 8-bit
accumulator for
8-bit operation.
All data register
can be used as
either 16 bit or 8
bit. BX is a 16 bit
register, but BL
indicates the
lower 8-bit of BX
and BH indicates
the higher 8-bit
of BX.
The register CX
is used default
counter in case
of string and
loop instructions.
Segment Registers
Code segment register (CS): is used for addressing memory location in
the code segment of the memory, where the executable program is stored.
Data segment register (DS): points to the data segment of the memory
where the data is stored.
Extra Segment Register (ES) : also refers to a segment in the memory
which is another data segment in the memory.
Stack Segment Register (SS): is used fro addressing stack segment of the
memory. The stack segment is that segment of memory which is used to
store stack data.
Pointers and Index Registers.
The pointers contain offset within the particular segments.
The pointer register IP contains offset within the code segment.
The pointer register BP contains offset within the data segment.
The pointer register SP contains offset within the stack segment.
The index registers used as general purpose registers as well for offset storage in
case of indexed, base indexed and relative base indexed addressing modes.
The register SI is used to store the offset of source data in data segment.
The register DI is used to store the offset of destination in data or extra
segment.
The index registers are particularly useful for string manipulation.
FLAG REGISTERS
The 8086 flag register contents indicate the results of
computation in the ALU. It also contains some flag bits to
control the CPU operations.
A 16 flag register is used in 8086. It is divided into two
parts .
โ€ข Condition code or status flags- The condition code flag register is the
lower byte of the 16-bit flag register. The condition code flag register
is identical to 8085 flag register, with an additional overflow flag.
โ€ข Machine control flags- The control flag register is the higher byte of
the flag register. It contains three flags namely direction flag(D),
interrupt flag (I) and trap flag (T).
Flag Register
Carry
Parity
Auxiliary Carry
Zero
Overflow
Direction
Interrupt enable
Trap
Sign
6 are status flags
3 are control flag
Status Flag
S- Sign Flag : This flag is set, when the result of any computation is
negative.
Z- Zero Flag: This flag is set, if the result of the computation or
comparison performed by the previous instruction is zero.
P- Parity Flag: This flag is set to 1, if the lower byte of the result
contains even number of 1โ€™s.
C- 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.
Status Flag
AC-Auxiliary Carry Flag: This is set, if carry from the lowest
nibble, i.e., bit three during addition, or borrow for the lowest
nibble, i.e., bit three, during subtraction.
O- 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 overflow will be set.
Control flag
T- Tarp Flag: If this flag is set, the processor enters the single step
execution mode.
I- Interrupt Flag: If this flag is set, the maskable interrupt are
recognized by the CPU, otherwise they are ignored.
D- 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.
Conclusion
Hence we conclude that Register are
one of the important component of a
processor & For the storage of data
& their memory location during the
execution of program , we use it.
These Registers are used by 8086ยตp
to store data of 16 bit.
THANKS

More Related Content

What's hot

8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
ย 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
ย 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
Reevu Pal
ย 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
Parvesh Gautam
ย 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
saleForce
ย 

What's hot (20)

INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
ย 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
ย 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
ย 
8086
80868086
8086
ย 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
ย 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
ย 
8086 pin details
8086 pin details8086 pin details
8086 pin details
ย 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
ย 
8086 modes
8086 modes8086 modes
8086 modes
ย 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
ย 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
ย 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
ย 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
ย 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
ย 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
ย 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
ย 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
ย 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
ย 
Architecture of 8085
Architecture of  8085Architecture of  8085
Architecture of 8085
ย 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
ย 

Similar to Register Organisation of 8086 Microprocessor

Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
Nikhil Kumar
ย 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuits
Manasa Mona
ย 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processor
Fazle Akash
ย 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086
ELIMENG
ย 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
ย 
c++
c++ c++
c++
Arun Nair
ย 

Similar to Register Organisation of 8086 Microprocessor (20)

Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
ย 
Microprocessor- Flaf registor
Microprocessor- Flaf registorMicroprocessor- Flaf registor
Microprocessor- Flaf registor
ย 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
ย 
Chapter 2
Chapter 2Chapter 2
Chapter 2
ย 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuits
ย 
Intel Microprocessors 8086 Documentation
Intel Microprocessors 8086 DocumentationIntel Microprocessors 8086 Documentation
Intel Microprocessors 8086 Documentation
ย 
Flags registor of 8086 processor
Flags registor of 8086 processorFlags registor of 8086 processor
Flags registor of 8086 processor
ย 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
ย 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
ย 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086
ย 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
ย 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
ย 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
ย 
8086 architecture
8086 architecture8086 architecture
8086 architecture
ย 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
ย 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
ย 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
ย 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
ย 
c++
c++ c++
c++
ย 
Amp
AmpAmp
Amp
ย 

More from Nikhil Kumar

Optical Fiber Communication
Optical Fiber Communication Optical Fiber Communication
Optical Fiber Communication
Nikhil Kumar
ย 
Mode of Communication - Voice and Data
Mode of Communication - Voice and DataMode of Communication - Voice and Data
Mode of Communication - Voice and Data
Nikhil Kumar
ย 
Computer System Specification - 4th Generation
Computer System Specification - 4th GenerationComputer System Specification - 4th Generation
Computer System Specification - 4th Generation
Nikhil Kumar
ย 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
Nikhil Kumar
ย 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
Nikhil Kumar
ย 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
Nikhil Kumar
ย 
Architecture of 8086
Architecture of 8086Architecture of 8086
Architecture of 8086
Nikhil Kumar
ย 

More from Nikhil Kumar (16)

At the Age of 22
At the Age of 22At the Age of 22
At the Age of 22
ย 
GSM CDMA & WI-MAX
GSM CDMA & WI-MAXGSM CDMA & WI-MAX
GSM CDMA & WI-MAX
ย 
Integrated Circuit Manufacturing
Integrated Circuit ManufacturingIntegrated Circuit Manufacturing
Integrated Circuit Manufacturing
ย 
Bsnl training
Bsnl trainingBsnl training
Bsnl training
ย 
Curved Wavelet Transform For Image Denoising using MATLAB.
Curved Wavelet Transform For Image Denoising using MATLAB.Curved Wavelet Transform For Image Denoising using MATLAB.
Curved Wavelet Transform For Image Denoising using MATLAB.
ย 
Bsnl Training Report
Bsnl Training ReportBsnl Training Report
Bsnl Training Report
ย 
Silicon Controlled Rectifier
Silicon Controlled Rectifier Silicon Controlled Rectifier
Silicon Controlled Rectifier
ย 
Optical Fiber Communication
Optical Fiber Communication Optical Fiber Communication
Optical Fiber Communication
ย 
Mode of Communication - Voice and Data
Mode of Communication - Voice and DataMode of Communication - Voice and Data
Mode of Communication - Voice and Data
ย 
Computer System Specification - 4th Generation
Computer System Specification - 4th GenerationComputer System Specification - 4th Generation
Computer System Specification - 4th Generation
ย 
Virtual Private Network- VPN
Virtual Private Network- VPNVirtual Private Network- VPN
Virtual Private Network- VPN
ย 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
ย 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
ย 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
ย 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
ย 
Architecture of 8086
Architecture of 8086Architecture of 8086
Architecture of 8086
ย 

Recently uploaded

Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
ย 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
ย 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
ย 

Register Organisation of 8086 Microprocessor

  • 1. NRI Institute of Research & Technology โ€ข By NIKHIL KUMAR NIRT BHOPAL
  • 2. REGISTER ORGANISATION OF 8086 โ€ข Introduction to Computer Processor โ€ข Registers in 8086 Microprocessor. โ€ข General purpose Register. โ€ข Segment Registers. โ€ข Pointers and Index Registers. โ€ข FLAG Registers. โ€ข Status Flag โ€ข Control flag โ€ข Conclusion. Contents
  • 3. Introduction To Computer Processor A central processing unit (CPU) is the hardware within a computer system which carries out the instructions of a computer program by performing the basic arithmetical, logical, and input/output operations of the system.
  • 4. Registers in 8086 Microprocessor โ€ข All the registers of 8086 are 16-bit registers. The general purpose registers can be used as either 8-bit registers or 16-bit registers. โ€ข The register set of 8086 can be categorized into 4 different groups. CS SS DS ES Segment BP Index SP SI DI AH BH CH DH DL CL BL AL General Purpose Status and Control Flags IP AX BX CX DX pointer
  • 5. General purpose Register The registers AX, BX,CX and DX are the general purpose 16-bit registers. AX is used as 16- bit accumulator. The lower 8-bit is designated as AL and higher 8- bit is designated as AH. AL can be used as an 8-bit accumulator for 8-bit operation. All data register can be used as either 16 bit or 8 bit. BX is a 16 bit register, but BL indicates the lower 8-bit of BX and BH indicates the higher 8-bit of BX. The register CX is used default counter in case of string and loop instructions.
  • 6. Segment Registers Code segment register (CS): is used for addressing memory location in the code segment of the memory, where the executable program is stored. Data segment register (DS): points to the data segment of the memory where the data is stored. Extra Segment Register (ES) : also refers to a segment in the memory which is another data segment in the memory. Stack Segment Register (SS): is used fro addressing stack segment of the memory. The stack segment is that segment of memory which is used to store stack data.
  • 7. Pointers and Index Registers. The pointers contain offset within the particular segments. The pointer register IP contains offset within the code segment. The pointer register BP contains offset within the data segment. The pointer register SP contains offset within the stack segment. The index registers used as general purpose registers as well for offset storage in case of indexed, base indexed and relative base indexed addressing modes. The register SI is used to store the offset of source data in data segment. The register DI is used to store the offset of destination in data or extra segment. The index registers are particularly useful for string manipulation.
  • 8. FLAG REGISTERS The 8086 flag register contents indicate the results of computation in the ALU. It also contains some flag bits to control the CPU operations. A 16 flag register is used in 8086. It is divided into two parts . โ€ข Condition code or status flags- The condition code flag register is the lower byte of the 16-bit flag register. The condition code flag register is identical to 8085 flag register, with an additional overflow flag. โ€ข Machine control flags- The control flag register is the higher byte of the flag register. It contains three flags namely direction flag(D), interrupt flag (I) and trap flag (T).
  • 9. Flag Register Carry Parity Auxiliary Carry Zero Overflow Direction Interrupt enable Trap Sign 6 are status flags 3 are control flag
  • 10. Status Flag S- Sign Flag : This flag is set, when the result of any computation is negative. Z- Zero Flag: This flag is set, if the result of the computation or comparison performed by the previous instruction is zero. P- Parity Flag: This flag is set to 1, if the lower byte of the result contains even number of 1โ€™s. C- 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.
  • 11. Status Flag AC-Auxiliary Carry Flag: This is set, if carry from the lowest nibble, i.e., bit three during addition, or borrow for the lowest nibble, i.e., bit three, during subtraction. O- 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 overflow will be set.
  • 12. Control flag T- Tarp Flag: If this flag is set, the processor enters the single step execution mode. I- Interrupt Flag: If this flag is set, the maskable interrupt are recognized by the CPU, otherwise they are ignored. D- 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.
  • 13. Conclusion Hence we conclude that Register are one of the important component of a processor & For the storage of data & their memory location during the execution of program , we use it. These Registers are used by 8086ยตp to store data of 16 bit.