3 ms·
> But if are also consider GNU AT&T syntax Why, though? The official x86 syntax is Intel syntax. In any case, it doesn't matter. Every possible encoding of eac
by deckard1 4y ago
> But if are also consider GNU AT&T syntax
Why, though? The official x86 syntax is Intel syntax. In any case, it doesn't matter. Every possible encoding of each mnemonic is given in Intel's manual. This whole business about "what is an instruction anyway" is just sophistry. Anyone using gas would hopefully know how the AT&T syntax is mapping to Intel encodings.
> but we actually cannot count how many instructions there are in x86/amd64.
Again, you can. It's quite simple. Define an instruction how ever you want, and then go and look at the manual. It's a finite known set. Intel isn't hiding this info.
- innocenat 4y agoMaybe I was not clear. The problem is that no one is going to agree to the same definition. I have already listed several points where disagreements may occurs, and that is just the surface of the complexity.