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

  • Home
  • SEARCH
  • 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 497453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:46:58+00:00 2026-05-13T05:46:58+00:00

This article claims that each register has an intended purpose and more importantly, When

  • 0

This article claims that each register has an intended purpose and more importantly,

When the engineers at Intel designed
the original 8086 processor, they had
a special purpose in mind for each
register. As they designed the
instruction set, they created many
optimizations and special instructions
based on the function they expected
each register to perform. Using
registers according to Intel’s
original plan allows the code to take
full advantage of these optimizations.
Unfortunately, this seems to be a lost
art. Few coders are aware of Intel’s
overall design, and most compilers are
too the simplistic or focused on
execution speed to use the registers
properly. Understanding how the
registers and instruction set fit
together, however, is an important
step on the road to effortless
size-coding.

Are there any other sources to corroborate this article? If so, I’d really like to check it out.

Please note I’m not talking about situations where fast operations like STOS uses edi – I’m just wondering if there is any performance degradation if I use eax and esi as counters instead of ecx or is it just about readability?

  • 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-05-13T05:46:59+00:00Added an answer on May 13, 2026 at 5:46 am

    No, not really anymore — or at least not very often anyway. Using ECX as a counter lets you use the LOOP instruction. At one time, that was a significant advantage, but on most recent CPUs, a LOOP takes longer to execute than the combination of DEC ECX/JNZ wherever. The possible advantage is that it reduces memory bandwidth usage, which is a bottleneck more and more often. It can also be an advantage when/if you can use the other forms like LOOPNZ, which can be relatively complex to simulate with separate instructions.

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

Sidebar

Related Questions

I read in this article that a company has created a software capable of
This article says that Emacs has redo because you can reverse direction while undoing,
Someone brought this article to my attention that claims (I'm paraphrasing) the STL term
This article states that If your site is run on a shared Web server,
This article Write a Sortable ObservableCollection for WPF appears to be all that's needed
I read this article on the maven project web page that lists the different
In this article on thserverside.com: http://www.theserverside.com/news/thread.tss?thread_id=42651 It mentions :JBoss has released Hibernate 3.2, their
In this article (11 Apr 2009), the author claims Hiro is: the World's Fastest
After reading this article I made a point that int () yields 0 because
This article gives a good overview on why structured exception handling is bad. Is

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.