diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-26 16:18:00 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-26 16:18:00 -0700 |
commit | d28f07f7e34e1201ebc3e62cc2cf38479908fb0b (patch) | |
tree | b674fcae9cea8757952c85c1c9e4537c4379192e /disasm.c | |
parent | b9893413ec4ade88e88db2220edca420c46db152 (diff) | |
download | nasm-d28f07f7e34e1201ebc3e62cc2cf38479908fb0b.tar.gz nasm-d28f07f7e34e1201ebc3e62cc2cf38479908fb0b.tar.bz2 nasm-d28f07f7e34e1201ebc3e62cc2cf38479908fb0b.zip |
ndisasm: fix disassembly of JRCXZ
Fix the disassembly of JRCXZ; in 64-bit mode, we should only accept
JECXZ for disassembly with 32-bit address size override.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'disasm.c')
-rw-r--r-- | disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -726,7 +726,7 @@ static int matches(const struct itemplate *t, uint8_t *data, break; case 0311: - if (asize == 16) + if (asize != 32) return false; else a_used = true; |