From e5b47ab1c8bdeba9dd2b1fc50c35b6774345542a Mon Sep 17 00:00:00 2001 From: Keith Kanios Date: Fri, 17 Aug 2007 02:03:10 +0000 Subject: [PATCH] Changed MMXREG and XMMREG flags to help resolve invalid REX prefix generation for MMX instructions. --- nasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nasm.h b/nasm.h index 4dd8dd5a..f2672a4f 100644 --- a/nasm.h +++ b/nasm.h @@ -475,8 +475,8 @@ enum { #define EIPREG 0x00801004L /* EIP */ #define FPUREG 0x01001000L /* floating point stack registers */ #define FPU0 0x01011000L /* FPU stack register zero */ -#define MMXREG 0x02009008L /* MMX registers */ -#define XMMREG 0x04009001L /* XMM Katmai reg */ +#define MMXREG 0x04009001L /* MMX registers */ +#define XMMREG 0x04009002L /* XMM Katmai reg */ #define REG_CDT 0x00101004L /* CRn, DRn and TRn */ #define REG_CREG 0x00111004L /* CRn */ #define REG_DREG 0x00121004L /* DRn */