summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-12 11:36:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-12 11:36:24 -0700
commitff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9 (patch)
treedc252157a0eb58033221e104b84582cf8ff4eec5 /nasm.h
parentaaa088fbf3627052683abd8afdf20141b6b560e2 (diff)
downloadnasm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 052bbe7..18184d1 100644
--- a/nasm.h
+++ b/nasm.h
@@ -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 */