From 50195c14b633b5926c5ead3a09c89dcd88d21d5e Mon Sep 17 00:00:00 2001 From: julianb0 Date: Sun, 16 Jun 2019 19:47:57 +0200 Subject: [PATCH] att --- vm/pc/dump.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vm/pc/dump.c b/vm/pc/dump.c index 83dfa03..8532041 100644 --- a/vm/pc/dump.c +++ b/vm/pc/dump.c @@ -13,8 +13,7 @@ char *cond_suffixes[] = "?" }; -// Comment the following line to get back intel syntax -#define _ATT_STYLE 1 +#define _ATT_STYLE 0 static void dump_acc(ctx_t *ctx, acc_t *p); @@ -32,7 +31,7 @@ void dump_instr(ctx_t *ctx, if (lock) log("lock"); -#ifndef _ATT_STYLE +#if !_ATT_STYLE log("%s", in->name); #else char s1[2] = {0, 0}, s2[2] = {0, 0}; @@ -71,7 +70,7 @@ void dump_instr(ctx_t *ctx, log("\t"); if (p1) { -#ifndef _ATT_STYLE +#if !_ATT_STYLE dump_acc(ctx, p1); if (p2) { log(", "); @@ -90,7 +89,7 @@ void dump_instr(ctx_t *ctx, log("\n"); } -#ifndef _ATT_STYLE +#if !_ATT_STYLE void dump_acc(ctx_t *ctx, acc_t *p) {