x86: Fix addressing mode disasm to follow AT&T syntax AT&T syntax uses "(reg,reg)" convention instead of "(reg+reg)". Signed-off-by: Pekka Enberg <pen...@cs.helsinki.fi>
--- trunk/arch/x86/x86_disasm.cpp 2010-04-25 11:56:21 UTC (rev 419)
+++ trunk/arch/x86/x86_disasm.cpp 2010-04-25 11:56:30 UTC (rev 420)
@@ -159,10 +159,10 @@
};
static const char *mem_byte_reg_names[] = {
- "%bx+si",
- "%bx+di",
- "%bp+si",
- "%bp+di",
+ "%bx,%si",
+ "%bx,%di",
+ "%bp,%si",
+ "%bp,%di",
"%si",
"%di",
NULL,