8086/8088 addressing modes, instruction set & machine codes
TRANSCRIPT
![Page 1: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/1.jpg)
8086/8088 Addressing Modes, Instruction Set & Machine Codes
![Page 2: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/2.jpg)
Addressing Modes• When the 8088/86 executes an instruction, it
performs the specified function on data, These data, called operands,–May be a part of the instruction–May reside in one of the internal registers of the microprocessor–May be stored at an address in memory
• Addressing modes tell us how to locate the operands.
![Page 3: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/3.jpg)
![Page 4: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/4.jpg)
![Page 5: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/5.jpg)
![Page 6: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/6.jpg)
![Page 7: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/7.jpg)
![Page 8: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/8.jpg)
![Page 9: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/9.jpg)
![Page 10: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/10.jpg)
New offset=base+index+displacement.
This mode is used to access a particular element in a particular record of an array
![Page 11: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/11.jpg)
![Page 12: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/12.jpg)
![Page 13: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/13.jpg)
![Page 14: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/14.jpg)
Assembly Language• There is a one-to-one relationship between assembly
and machine language instructions• What is found is that a compiled machine code
implementation of a program written in a high-level language results in inefficient code–More machine language instructions than an assembled version of an equivalent handwritten assembly language program
• Two key benefits of assembly language programming–It takes up less memory–It executes much faster
![Page 15: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/15.jpg)
![Page 16: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/16.jpg)
![Page 17: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/17.jpg)
![Page 18: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/18.jpg)
![Page 19: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/19.jpg)
![Page 20: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/20.jpg)
![Page 21: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/21.jpg)
![Page 22: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/22.jpg)
![Page 23: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/23.jpg)
![Page 24: 8086/8088 Addressing Modes, Instruction Set & Machine Codes](https://reader030.vdocuments.us/reader030/viewer/2022020620/61e3a9683ffc036a51441a12/html5/thumbnails/24.jpg)