diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-17 15:49:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-17 15:49:30 -0700 |
commit | 7eb4a387939955c1c0b41fbc8b1216419082321f (patch) | |
tree | 74cb142c9ba6f8cd82a07679e8f447dd726c6b7d /nasm.h | |
parent | 3a7edd73a35ee09ee3cbf783f4d7b7148884603a (diff) | |
download | nasm-7eb4a387939955c1c0b41fbc8b1216419082321f.tar.gz nasm-7eb4a387939955c1c0b41fbc8b1216419082321f.tar.bz2 nasm-7eb4a387939955c1c0b41fbc8b1216419082321f.zip |
Initial support for four arguments per instruction
For SSE5, we will need to support four arguments per instruction.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -607,6 +607,7 @@ typedef struct extop { /* extended operand */ } extop; #define MAXPREFIX 4 +#define MAX_OPERANDS 4 typedef struct { /* an instruction itself */ char *label; /* the label defined, or NULL */ @@ -616,7 +617,7 @@ typedef struct { /* an instruction itself */ enum ccode condition; /* the condition code, if Jcc/SETcc */ int operands; /* how many operands? 0-3 * (more if db et al) */ - operand oprs[3]; /* the operands, defined as above */ + operand oprs[MAX_OPERANDS]; /* the operands, defined as above */ extop *eops; /* extended operands */ int eops_float; /* true if DD and floating */ int32_t times; /* repeat count (TIMES prefix) */ |