mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
assemble.c: capitalize LOCK prefix
LOCK is a keyword and not a descriptive term here, capitalize it. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -1418,7 +1418,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits,
|
|||||||
if (has_prefix(ins, PPS_LOCK, P_LOCK) && lockcheck &&
|
if (has_prefix(ins, PPS_LOCK, P_LOCK) && lockcheck &&
|
||||||
(!itemp_has(temp,IF_LOCK) || !is_class(MEMORY, ins->oprs[0].type))) {
|
(!itemp_has(temp,IF_LOCK) || !is_class(MEMORY, ins->oprs[0].type))) {
|
||||||
/*!
|
/*!
|
||||||
*!lock [on] lock prefix on unlockable instructions
|
*!lock [on] LOCK prefix on unlockable instructions
|
||||||
*! warns about \c{LOCK} prefixes on unlockable instructions.
|
*! warns about \c{LOCK} prefixes on unlockable instructions.
|
||||||
*/
|
*/
|
||||||
nasm_warnf(WARN_LOCK | ERR_PASS2 , "instruction is not lockable");
|
nasm_warnf(WARN_LOCK | ERR_PASS2 , "instruction is not lockable");
|
||||||
|
Reference in New Issue
Block a user