From 030d8eef0a2e939db91b73628e82231618d3069b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 26 Jun 2016 01:03:11 +0800 Subject: [PATCH] x86: fix issue #717 --- arch/X86/X86ATTInstPrinter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/X86/X86ATTInstPrinter.c b/arch/X86/X86ATTInstPrinter.c index 24994c0ce..d9ab01642 100644 --- a/arch/X86/X86ATTInstPrinter.c +++ b/arch/X86/X86ATTInstPrinter.c @@ -798,6 +798,8 @@ static void printMemReference(MCInst *MI, unsigned Op, SStream *O) SStream_concat(O, "%"PRIu64, DispVal); } } + } else { + SStream_concat0(O, "0"); } }