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 642113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:08:09+00:00 2026-05-13T21:08:09+00:00

How do you decide when do you use which jump statement…statements such as JG

  • 0

How do you decide when do you use which jump statement…statements such as JG JNLE JNC can do the same job how do you differentiate them?

  • 1 1 Answer
  • 1 View
  • 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-05-13T21:08:09+00:00Added an answer on May 13, 2026 at 9:08 pm

    J(E)CXZ is used generally when you’ve got a count value in the CX register that you’re using to limit iterations in loops.

    JMP is an unconditional jump used to exit loops, enter APIs in a non-CALL based interface, build jump tables, etc.

    Conditional jumps are used to change your thread of execution based upon conditions of previous calculations. There are a lot of synonyms (documented in the link I just provided) and the synonyms are usually for obvious reasons. JAE, for example, means “Jump if Above or Equal”. This is a synonym for JNC, which means “Jump if No Carry” and JNB, which means “Jump if Not Below”. Which you use is purely a matter of making your code understandable to the reader:

    • If you’ve just done an arithmetic operation, you’re likely to be interested in the state of the carry flag, so you’d code it as JNC.
    • If you’ve just done a comparison (CMP operation) you’ll likely to be more interested in JAE or JNB. Which you use depends on which makes the most sense when describing the logic.

    This is actually a classic problem in language design: do you make lots of aliases, making the syntax more complicated in favour of clarifying semantics, or do you restrict your “keywords” (opcode mnemonics here) at the expense of semantics being harder to read?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After studying TCP/UDP difference all week, I just can't decide which to use. I
I can't decide which to use, they both look pretty similar. It's for a
I need to decide which configuration framework to use. At the moment I am
I've got a view function that has to decide which form to use depending
I know how this algorithm works, but cant decide when to use which algorithm
For apple said that we can't use drawRec: in a UIImageView. so I decide
Before I decide to use DetailView , I had a url redirect using this
Why did some processor manifacturers decide to use Little endian Big endian Middle endian
From the documentation of UITableView / UITableViewController: If you decide to use a UIViewController
I'm aiming to write an application for galaxy tab and decide to use platform

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.