Program assembly language find maximum number




















Also, learn to use a debugger. Jester ok thanks for this info. Also you may want to take a look at the 'lodsw' instruction faydoc. Add a comment. Active Oldest Votes. Tommylee2k Tommylee2k 2, 1 1 gold badge 8 8 silver badges 21 21 bronze badges. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 1. Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings. We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.

You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post. Answered by Narue 5, in a post from 15 Years Ago. You also don't need to terminate a … Jump to Post.

Answered by NotNull 23 in a post from 11 Years Ago. Here's code that finds the maximum value in an array of bytes. You need to either print the correct register, or move the correct value to AX, and that means a conditional test, which means a jump: cmp ax,bx jnl.

You can play math arithmetic games, but that destroys clarity. Thanks, But what do you mean by : jnl. Thanks, But what do you mean by : jnl The mnemonic jnl means jump if not less.

Thank you very much if you can help, and also for trying Also, how do you get your posted code in those funky colors? Much appreciated. Facebook Like. Twitter Tweet. Be a part of the DaniWeb community. Sign Up — It's Free! Reply to this Topic. This topic is old!

No one has contributed to this discussion in over 11 years. Are you sure you have something valuable to add to revive the existing conversation?



0コメント

  • 1000 / 1000