-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
proposals solicitedThis design hasn't been fleshed out; there's lots of scope to come in and make a new proposal.This design hasn't been fleshed out; there's lots of scope to come in and make a new proposal.
Description
Giving mnemonics to x86 opcodes might make SubX easier for newcomers to read. This issue is intended to track the pros and cons.
Previous discussion: https://news.ycombinator.com/item?id=21268252#21293301
Initial list of pros and cons:
- Pro: names give some indication (albeit imprecise) of the operation being performed.
- Pro: names can be checked by tooling. Typoing
8d
for8f
seems easier than typoingcopy
forpop
. - Con: per-opcode mnemonics are an additional set of things for the new reader to understand and navigate. And cross-correlate with the Intel manual, since it only gives names to sets of opcodes.
- Con: tooling may have a hard time giving a good error message when a user typos one variant of say
add
for another.
Metadata
Metadata
Assignees
Labels
proposals solicitedThis design hasn't been fleshed out; there's lots of scope to come in and make a new proposal.This design hasn't been fleshed out; there's lots of scope to come in and make a new proposal.