Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8544413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:33:06+00:00 2026-06-11T12:33:06+00:00

Is there any difference between them? I am using this code to jump from

  • 0

Is there any difference between them? I am using this code to jump from real mode to protected mode. the second one works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:33:07+00:00Added an answer on June 11, 2026 at 12:33 pm

    Other than the length of the instruction (due to the longer absolute address encoded in it and any possibly required instruction prefixes) there’s no difference between the two whatsoever.

    The two versions of the instruction behave identically.

    You’re not restricted to using only the shorter version in 16-bit mode or only the longer version in 32-bit mode. As long as the address is valid (per the relevant segment descriptor in the GDT and then the underlying page tables, if any), the jump will just work.

    UPDATE: Actually (found by trial and error:), you want to request the proper operand size specifically if the offset doesn’t fit into 16 bits.

    Sample code:

    bits 16
    jmp 8:0
    jmp dword 8:0
    jmp 8:0x12345678 ; warning: jmpabs.asm:4: warning: word data exceeds bounds
    bits 32
    jmp 8:0
    jmp word 8:0
    jmp 8:0x1234
    

    Assembled as nasm -f bin -l jmpabs.lst jmpabs.asm -o jmpabs.bin produces the following listing file:

     1                                  bits 16
     2 00000000 EA00000800              jmp 8:0
     3 00000005 66EA000000000800        jmp dword 8:0
     4 0000000D EA78560800              jmp 8:0x12345678
     5          ******************       warning: word data exceeds bounds
     6                                  bits 32
     7 00000012 EA000000000800          jmp 8:0
     8 00000019 66EA00000800            jmp word 8:0
     9 0000001F EA341200000800          jmp 8:0x1234
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any difference between doing this: $(.topHorzNavLink).click(function() { var theHoverContainer = $(#hoverContainer); var
Is there any difference between the following two examples and should one be preferred
Is there any difference between these tow pieces of code & which approach is
Is there any difference between these two LINQ statements: var query = from a
Is there any difference between <opensearch:totalResults>1000</opensearch:totalResults> and <totalResults xmlns=opensearch>1000</totalResults> I'm using the SyndicationFeed class
Is there any difference between ReferencePath with condition '%(CopyLocal)'=='true' and ReferenceCopyLocalPaths ? The question
Is there any difference between: public ActionResult logOff() { FormsAuth.SignOut(); return RedirectToAction(index, Home); }
Is there any difference between '{' and '[' when formatting a JSON object?
Is there any difference between the below 2 CREATE TABLE statements in SQL Server
Is there any difference between starting a program file with any of those? #!/usr/bin/env

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.