mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
"LOCK XCHG reg,mem" would issue a warning for being unlockable, which is incorrect. In this case the RM encoding is simply an alias for the MR encoding. Add a "LOCK1" bit to deal with that. However, XCHG is *always* locked, so create a new warning to explicitly flag a user-specified LOCK XCHG; default off. Consider optimizing that prefix away in the future, but for now, let's stick to the user-requested code sequence. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
NASM, the Netwide Assembler
Many many developers all over the net respect NASM for what it is: a widespread (thus netwide), portable (thus netwide!), very flexible and mature assembler tool with support for many output formats (thus netwide!!).
Now we have good news for you: NASM is licensed under the "simplified" (2-clause) BSD license. This means its development is open to even wider society of programmers wishing to improve their lovely assembler.
Visit our nasm.us website for more details.
With best regards, the NASM crew.
Description
Languages
Assembly
61.7%
C
31.7%
Perl
3.2%
Makefile
0.8%
M4
0.7%
Other
1.9%