chap6-091025v6 - CHAPTER 6 Program Control Instructions 6.1...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 6.1 THE JUMP GROUP 6.1.1 Unconditional Jump (JMP) Intra-segment jmp Inter-segment jmp Intra-segment indirect jmp Inter-segment indirect jmp CHAPTER 6 Program Control Instructions CHAPTER 6 Program Control Instructions
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Intra-segment jmp jmp short label ; 8-bit displacement -128--+127 jmp near ptr label; 16-bit (for real mode) or 32-bit (for protected mode) displacement -32K -- +32K or -2G -- +2G Inter-segment jmp jmp far ptr label Intra-segment indirect jmp jmp REG; REG is new IP jmp word ptr MEM Inter-segment indirect jmp jmp far ptr MEM jmp dword ptr MEM In protected mode, 32-bit displacement is used. figure 6-1 (32-bit displacement  is  not shown.) jmp short label  jmp near ptr  label  jmp far ptr  label 
Background image of page 2
Intra-segment call not exist: call short label ; 8-bit displacement -128--+127 call label; label is a near proc name Inter-segment call call label ; label is a far proc name Intra-segment indirect call call REG REG is new IP call word ptr MEM Inter-segment indirect call call far ptr MEM call dword ptr MEM In protected mode, 32-bit displacement is used. (32-bit displacement  is 
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 25

chap6-091025v6 - CHAPTER 6 Program Control Instructions 6.1...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online