summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-12 00:22:29 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-09-12 00:22:29 +0000
commitce9be34d3d00eec4f3386bb0222039c347bc6ee5 (patch)
tree7134cf9623618bad68650375929bf217d7607826 /preproc.c
parent9c06db6935f3cc6ae563cdbc27dbbcbb187629ab (diff)
downloadnasm-ce9be34d3d00eec4f3386bb0222039c347bc6ee5.tar.gz
nasm-ce9be34d3d00eec4f3386bb0222039c347bc6ee5.tar.bz2
nasm-ce9be34d3d00eec4f3386bb0222039c347bc6ee5.zip
Add RCXZ as a known preprocessor condition
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/preproc.c b/preproc.c
index 937d945..20ba19b 100644
--- a/preproc.c
+++ b/preproc.c
@@ -254,17 +254,17 @@ enum {
static const char *conditions[] = {
"a", "ae", "b", "be", "c", "cxz", "e", "ecxz", "g", "ge", "l", "le",
"na", "nae", "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no",
- "np", "ns", "nz", "o", "p", "pe", "po", "s", "z"
+ "np", "ns", "nz", "o", "p", "pe", "po", "rcxz", "s", "z"
};
enum {
c_A, c_AE, c_B, c_BE, c_C, c_CXZ, c_E, c_ECXZ, c_G, c_GE, c_L, c_LE,
c_NA, c_NAE, c_NB, c_NBE, c_NC, c_NE, c_NG, c_NGE, c_NL, c_NLE, c_NO,
- c_NP, c_NS, c_NZ, c_O, c_P, c_PE, c_PO, c_S, c_Z
+ c_NP, c_NS, c_NZ, c_O, c_P, c_PE, c_PO, c_RCXZ, c_S, c_Z
};
static int inverse_ccs[] = {
c_NA, c_NAE, c_NB, c_NBE, c_NC, -1, c_NE, -1, c_NG, c_NGE, c_NL, c_NLE,
c_A, c_AE, c_B, c_BE, c_C, c_E, c_G, c_GE, c_L, c_LE, c_O, c_P, c_S,
- c_Z, c_NO, c_NP, c_PO, c_PE, c_NS, c_NZ
+ c_Z, c_NO, c_NP, c_PO, c_PE, -1, c_NS, c_NZ
};
/*