diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-12 11:36:24 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-12 11:36:24 -0700 |
commit | ff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9 (patch) | |
tree | dc252157a0eb58033221e104b84582cf8ff4eec5 /nasm.h | |
parent | aaa088fbf3627052683abd8afdf20141b6b560e2 (diff) | |
download | nasm-ff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9.tar.gz nasm-ff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9.tar.bz2 nasm-ff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9.zip |
Make MAX_OPERANDS a parameter in insns.pl as well
MAX_OPERANDS is present in insns.pl as well (although proper C
compilers shouldn't need this kind of zero padding.) Make sure it's
clear to everyone.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -652,6 +652,7 @@ enum prefix_pos { MAXPREFIX /* Total number of prefix slots */ }; +/* If you need to change this, also change it in insns.pl */ #define MAX_OPERANDS 5 typedef struct insn { /* an instruction itself */ |