Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

1327 Addressing Modes Of 8086

33,976 views

Published on

visit: www.techbed.blogspot.com

Published in: Education, Technology
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/39sFWPG ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❶❶❶ http://bit.ly/39sFWPG ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

1327 Addressing Modes Of 8086

  1. 1. Addressing Modes of 8086 Prepared & Presented by- Rajvir Singh
  2. 2. <ul><li>The different ways in which a processor can access data are called addressing modes </li></ul>
  3. 3. <ul><li>8086 accesses code bytes using contents of CS & IP register </li></ul><ul><li>8086 accesses stack using contents of SS & SP register </li></ul>
  4. 4. How 8086 accesses data? <ul><li>8086 assembly language instructions can be used to illustrate the addressing modes </li></ul><ul><li>Format of MOV instruction </li></ul><ul><li>MOV destination , source </li></ul>
  5. 5. <ul><li>Source of data can be </li></ul><ul><ul><li>Immediate data </li></ul></ul><ul><ul><li>A specified register </li></ul></ul><ul><ul><li>A memory location specified in 1 of 24 different ways </li></ul></ul><ul><li>Destination of data can be </li></ul><ul><ul><li>A specified register </li></ul></ul><ul><ul><li>A memory location specified in 1 of 24 different ways </li></ul></ul>
  6. 6. Classification of Addressing Modes <ul><li>Register addressing mode </li></ul><ul><li>Immediate addressing mode </li></ul><ul><li>Memory addressing mode </li></ul><ul><li>Port addressing mode </li></ul><ul><li>Relative addressing mode </li></ul><ul><li>Implied addressing mode </li></ul>
  7. 7. 1. Register addressing mode <ul><li>Source/destination can be one of the 8086 registers </li></ul><ul><li>MOV AX , BX ; 16-bit data transfer </li></ul><ul><li>MOV AL , BL ; 8-bit data transfer </li></ul>
  8. 8. 2. Immediate addressing mode <ul><li>8 or 16-bit data can be specified as part of the instruction </li></ul><ul><li>E.g. MOV AL , 45 H </li></ul><ul><ul><ul><ul><li>MOV BX , 5062 H </li></ul></ul></ul></ul>
  9. 9. 3. Memory addressing mode <ul><li>One of the operands is in memory </li></ul><ul><li>8086 must use </li></ul><ul><ul><li>a segment register </li></ul></ul><ul><ul><li>A 16-bit offset (effective address) </li></ul></ul><ul><li>By default , DS register is used for accessing data from memory </li></ul><ul><li>16-bit offset can be specified in many ways </li></ul>
  10. 10. Different ways of specifying offset <ul><li>Direct memory addressing </li></ul><ul><li>Register Indirect addressing </li></ul><ul><li>Based addresing </li></ul><ul><li>Indexed addressing </li></ul><ul><li>Based Indexed addressing </li></ul><ul><li>String addressing </li></ul>
  11. 11. a. Direct Memory addressing <ul><li>Effective address is specified directly in the instruction </li></ul><ul><li>E.g. MOV BX , [ 5062 ] </li></ul><ul><li>20-bit physical address of memory location is calculated using DS and offset value 5062 </li></ul>
  12. 12. Accessing memory <ul><li>Segment register </li></ul><ul><li>+ = 20-bit physical address </li></ul><ul><li>of operand </li></ul><ul><li>16-bit offset </li></ul>
  13. 13. b. Register indirect addressing <ul><li>The effective address of memory operand is present in one of the base or index registers [ BX , BP , SI , DI ] </li></ul><ul><li>E.g. MOV CX , [ BX ] </li></ul><ul><li>If DS = 2000 H, BX = 0004 H </li></ul><ul><li>THEN contents of memory location 20004 H are copied to register CX </li></ul>
  14. 14. c. Based addressing <ul><li>Effective address is sum of </li></ul><ul><ul><li>16-bit offset given in instruction </li></ul></ul><ul><ul><li>Contents of base register BX or BP </li></ul></ul><ul><li>Segment register is DS or SS </li></ul><ul><li>E.g. MOV AX , 4 [ BX ] </li></ul><ul><li>E.G. PUSH CX </li></ul>
  15. 15. d. Indexed addressing <ul><li>Effective address is sum of </li></ul><ul><ul><li>16-bit offset given in instruction </li></ul></ul><ul><ul><li>Contents of index register SI or DI </li></ul></ul><ul><li>Segment register is DS </li></ul><ul><li>E.g. MOV AX , 4 [ SI ] </li></ul>
  16. 16. e. Based Indexed addressing <ul><li>Effective address is sum of </li></ul><ul><ul><li>16-bit offset given in instruction </li></ul></ul><ul><ul><li>Contents of index register SI or DI </li></ul></ul><ul><ul><li>Contents of base register BX or BP </li></ul></ul><ul><li>Segment register is DS </li></ul><ul><li>E.g. MOV AX , 4 [ BX ][ SI ] </li></ul>
  17. 17. f. String addressing <ul><li>Used when string related instructions are executed </li></ul><ul><li>Uses index registers </li></ul><ul><li>SI register points to the first byte or word of the source string </li></ul><ul><li>DI register points to the first byte or word of the destination </li></ul>
  18. 18. Classification of Addressing Modes <ul><li>Register addressing mode </li></ul><ul><li>Immediate addressing mode </li></ul><ul><li>Memory addressing mode </li></ul><ul><li>Port addressing mode </li></ul><ul><li>Relative addressing mode </li></ul><ul><li>Implied addressing mode </li></ul>
  19. 19. 4. Port addressing <ul><li>Two I/O port addressing modes can be used </li></ul><ul><ul><li>Direct (e.g. IN AL , 02 H) </li></ul></ul><ul><ul><li>Indirect (e.g. IN AL , DX H) </li></ul></ul>
  20. 20. 5. Relative addressing mode <ul><li>Specifies the operand as a 8-bit signed displacement relative to PC </li></ul><ul><li>E.g. JNC 08H </li></ul><ul><li>IF carry = 0, THEN PC is loaded with current PC contents + 8-bit signed value </li></ul>
  21. 21. 6. Implied addressing mode <ul><li>No operands are specified </li></ul><ul><li>E.g. CLC </li></ul><ul><li>Means clear carry flag </li></ul>

×