SlideShare una empresa de Scribd logo
1 de 4
Role of Adder Unit
There is an Adder Unit (AU) which will generate 20-bit physical
address of the memory
i.e., actual address. It will consist base register + effective addres.
Adder unit left shift the address by 4 bits.
Physical Address(PA) = Base Address(BA) + Effective
Address(EA)
e.g.
CS IP
1000H 1240H
0 +
•10000 H + 1240H
•11240
Data Segment: - The effective address of data segment is given by BX, BP, SI, DI
PA = BA + (BX or BP or SI or DI)
Code Segment: - The effective address of code segment is given by IP.
PA = BA + IP
Extra Segment: - This is extra segment
Stack Segment: - The effective address of stack segment is given by SP.
PA = BA + SP
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
X X X X OF DF IF TF S Z X AC X P X CF
D15 D14 - - - - - - - D0
As it in 8085
Role of Flag Register: -
8086 has 16-bit flag register, but only 9 flags are used.
The format of flag register is like below.
OverFlow Flag (OF): - This flag works only in case of signed
number in case of unsigned number it doesn’t work.
If MSB bit 01 or 10 changes then this is called result in overflow.
Sign
Magnitude
Direction Flag (DF): - It will give the direction to the program if DF = 0 then it
will auto incremented and DF = 1 then it will auto decremented it can also set and reset
by using instruction. For set use Set Direction Flag (STD) for reset use Clear Direction
Flag (CLD).
Interrupt Flag (IF): - If IF = 1, then interrupts are enabled and if IF = 0, then
interrupts are disabled and it can also set or reset by using instruction for set use Set
Interrupt Flag(STI) for clear use Clear Interrupt Flag(CLI).
Trap Flag (TF): - It is used for single stepping that is it execute single instruction
at a time and display the result and so on. If TF = 1, then single stepping and TF = 0
then free running and it can also set also set or reset by instruction.

Más contenido relacionado

Similar a 126.pptx

Basic computer organization design
Basic computer organization designBasic computer organization design
Basic computer organization design
ndasharath
 
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsvDFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
vishalduriseti2
 
Basic programming of 8085
Basic programming of 8085 Basic programming of 8085
Basic programming of 8085
vijaydeepakg
 

Similar a 126.pptx (20)

Basic computer organization design
Basic computer organization designBasic computer organization design
Basic computer organization design
 
instruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.pptinstruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.ppt
 
Microprocessor Based Design and operations
Microprocessor Based Design and operationsMicroprocessor Based Design and operations
Microprocessor Based Design and operations
 
Microprocessor 8086 and Microcontoller
Microprocessor 8086 and MicrocontollerMicroprocessor 8086 and Microcontoller
Microprocessor 8086 and Microcontoller
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Cpe103 03 [processor flags]
Cpe103   03 [processor flags]Cpe103   03 [processor flags]
Cpe103 03 [processor flags]
 
Assignment on alp
Assignment on alpAssignment on alp
Assignment on alp
 
Assignment on alp
Assignment on alpAssignment on alp
Assignment on alp
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
 
Intel 8086
Intel 8086Intel 8086
Intel 8086
 
Assembly language programming intro
Assembly language programming introAssembly language programming intro
Assembly language programming intro
 
Lecture2
Lecture2Lecture2
Lecture2
 
Register & flags
Register & flagsRegister & flags
Register & flags
 
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsvDFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
DFP Unit-3.pptdddddghsdjcbsjjhsjsvdcsvnbsv
 
Basic programming of 8085
Basic programming of 8085 Basic programming of 8085
Basic programming of 8085
 
Memory Reference instruction
Memory Reference instructionMemory Reference instruction
Memory Reference instruction
 
Microprocessor 8086 instruction description
Microprocessor 8086 instruction descriptionMicroprocessor 8086 instruction description
Microprocessor 8086 instruction description
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Al2ed chapter7
Al2ed chapter7Al2ed chapter7
Al2ed chapter7
 
microprocessor Lec 02 mic
microprocessor Lec 02 micmicroprocessor Lec 02 mic
microprocessor Lec 02 mic
 

Último

Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
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 Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Último (20)

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
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
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 ...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
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
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
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
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 

126.pptx

  • 1. Role of Adder Unit There is an Adder Unit (AU) which will generate 20-bit physical address of the memory i.e., actual address. It will consist base register + effective addres. Adder unit left shift the address by 4 bits. Physical Address(PA) = Base Address(BA) + Effective Address(EA) e.g. CS IP 1000H 1240H 0 + •10000 H + 1240H •11240
  • 2. Data Segment: - The effective address of data segment is given by BX, BP, SI, DI PA = BA + (BX or BP or SI or DI) Code Segment: - The effective address of code segment is given by IP. PA = BA + IP Extra Segment: - This is extra segment Stack Segment: - The effective address of stack segment is given by SP. PA = BA + SP
  • 3. D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 X X X X OF DF IF TF S Z X AC X P X CF D15 D14 - - - - - - - D0 As it in 8085 Role of Flag Register: - 8086 has 16-bit flag register, but only 9 flags are used. The format of flag register is like below. OverFlow Flag (OF): - This flag works only in case of signed number in case of unsigned number it doesn’t work. If MSB bit 01 or 10 changes then this is called result in overflow. Sign Magnitude
  • 4. Direction Flag (DF): - It will give the direction to the program if DF = 0 then it will auto incremented and DF = 1 then it will auto decremented it can also set and reset by using instruction. For set use Set Direction Flag (STD) for reset use Clear Direction Flag (CLD). Interrupt Flag (IF): - If IF = 1, then interrupts are enabled and if IF = 0, then interrupts are disabled and it can also set or reset by using instruction for set use Set Interrupt Flag(STI) for clear use Clear Interrupt Flag(CLI). Trap Flag (TF): - It is used for single stepping that is it execute single instruction at a time and display the result and so on. If TF = 1, then single stepping and TF = 0 then free running and it can also set also set or reset by instruction.