ia32-handout - 8086 Addressing MOD = 11 000 w=0 w=1 R/M 000...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
8086 Addressing — MOD = 11 R/M or REG 000 001 010 011 100 101 110 111 w = 0 AL CL DL BL AH CH DH BH w = 1 AX CX DX BX SP BP SI DI MOD R/M 00 01 10 000 DS : (BX)+(SI) DS : (BX)+(SI)+D8 DS : (BX)+(SI)+D16 001 DS : (BX)+(DI) DS : (BX)+(DI)+D8 DS : (BX)+(DI)+D16 010 DS : (BP)+(SI) DS : (BP)+(SI)+D8 DS : (BP)+(SI)+D16 011 SS : (BP)+(DI) SS : (BP)+(DI)+D8 SS : (BP)+(DI)+D16 100 DS : (SI) DS : (SI)+D8 DS : (SI)+D16 101 DS : (DI) DS : (DI)+D8 DS : (DI)+D16 110 DS : D16 SS : (BP)+D8 SS : (BP)+D16 111 DS : (BX) DS : (BX)+D8 DS : (BX)+D16 Page 1 of 3
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Add instruction encoding: 0 0 0 0 0 0 d w mod r/m reg (DISP-LO) (DISP-HI) 10 0 0 0 0 s w mod 0 0 0 r/m (DISP-LO) (DISP-HI) data data if s:w=01 0 0 0 0 0 1 0 w data data if w=1 Immediate to register/memory Reg/memory with register to either Immediate to accumulator IA32 Instruction Format IA32 Addressing modes: R/M MOD = 11 or 16-bit data 32-bit data REG w = 0 w = 1 w = 0 w = 1 000 AL AX AL EAX 001 CL CX CL ECX 010 DL DX DL EDX 011 BL BX BL EBX 100 AH SP AH ESP 101 CH BP CH EBP 110 DH SI DH ESI 111 BH DI BH EDI Page 2 of 3
Image of page 2
MOD R/M 00 01 10 000 DS : (EAX) DS : (EAX) + D8 DS : (EAX) + D32 001 DS : (ECX) DS : (ECX) + D8 DS : (ECX) + D32 010 DS : (EDX) DS : (EDX) + D8 DS : (EDX) + D32
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern