Skip to main content
added 153 characters in body
Source Link
Peter Cordes
  • 360.5k
  • 1
  • 45
  • 74

You can search for x86 LEA questions without a tag, either with google for site:stackoverflow.com x86 "lea", or on SO itself with [x86] code:lea.

You can search for x86 LEA questions without a tag, either with google for site:stackoverflow.com x86 "lea", or on SO itself with [x86] code:lea.

added 171 characters in body
Source Link
Peter Cordes
  • 360.5k
  • 1
  • 45
  • 74

Questions about how to efficiently get from machine state A to machine state B might or might not have LEA as the answer, but are covered perfectly well by [tag:x86]

Questions about how to efficiently get from machine state A to machine state B might or might not have LEA as the answer, but are covered perfectly well by [tag:x86]

added 462 characters in body
Source Link
Peter Cordes
  • 360.5k
  • 1
  • 45
  • 74

TL:DR my main objection is that there's no scope for future good questions about LEA specifically. It's not an open-ended topic, not really. In assembly language, each instruction makes a specific change to the machine's architectural state. LEA can't even depend on memory contents, only GP integer registers. People just need to understand this, not read or ask a zillion questions about each different context you might use it in.


There's a problem here with lots of duplicate and near-duplicate questions, but I'm not convinced tags are best solution to the problem. The OP suggests that tagging them all will make it easier for future readers to wade through the pile, but there's so much duplication that I don't think that's useful. One to four good answers and the x86 manuals are all that's needed to explain LEA itself, and x86 addressing modes.

There's a problem here with lots of duplicate and near-duplicate questions, but I'm not convinced tags are best solution to the problem. The OP suggests that tagging them all will make it easier for future readers to wade through the pile, but there's so much duplication that I don't think that's useful. One to four good answers and the x86 manuals are all that's needed to explain LEA itself, and x86 addressing modes.

TL:DR my main objection is that there's no scope for future good questions about LEA specifically. It's not an open-ended topic, not really. In assembly language, each instruction makes a specific change to the machine's architectural state. LEA can't even depend on memory contents, only GP integer registers. People just need to understand this, not read or ask a zillion questions about each different context you might use it in.


There's a problem here with lots of duplicate and near-duplicate questions, but I'm not convinced tags are best solution to the problem. The OP suggests that tagging them all will make it easier for future readers to wade through the pile, but there's so much duplication that I don't think that's useful. One to four good answers and the x86 manuals are all that's needed to explain LEA itself, and x86 addressing modes.

deleted 1 character in body
Source Link
Peter Cordes
  • 360.5k
  • 1
  • 45
  • 74
Loading
Source Link
Peter Cordes
  • 360.5k
  • 1
  • 45
  • 74
Loading