From c2acf7b047492a6d1cbc4ac3aeafc3812fdcc46b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 21 Feb 2009 18:22:56 -0800 Subject: 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. --- nasmlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nasmlib.c') 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) -- cgit v1.2.3