summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-02-21 18:22:56 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-02-21 18:22:56 -0800
commitc2acf7b047492a6d1cbc4ac3aeafc3812fdcc46b (patch)
treeb1459da6cf2de42b60b68f3b68f6192fd1840921 /nasmlib.c
parentf8ad53216f09f731cc9440fd599b64eb9ce433d8 (diff)
downloadnasm-c2acf7b047492a6d1cbc4ac3aeafc3812fdcc46b.tar.gz
nasm-c2acf7b047492a6d1cbc4ac3aeafc3812fdcc46b.tar.bz2
nasm-c2acf7b047492a6d1cbc4ac3aeafc3812fdcc46b.zip
BR 2592476: Treat WAIT as a prefix even though it's really an instruction
WAIT is technically an instruction, but from an assembler standpoint it behaves as if it had been a prefix. In particular, it has to be ordered *before* any real hardware prefixes.
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasmlib.c b/nasmlib.c
index 8796879..94c9dda 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -511,8 +511,8 @@ void standard_extension(char *inname, char *outname, char *extension,
* Common list of prefix names
*/
static const char *prefix_names[] = {
- "a16", "a32", "lock", "o16", "o32", "rep", "repe", "repne",
- "repnz", "repz", "times"
+ "a16", "a32", "a64", "asp", "lock", "o16", "o32", "o64", "osp",
+ "rep", "repe", "repne", "repnz", "repz", "times", "wait"
};
const char *prefix_name(int token)