This commit is contained in:
julianb0 2019-06-16 19:47:57 +02:00
parent d60abc509a
commit 50195c14b6
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
1 changed files with 4 additions and 5 deletions

View File

@ -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)
{