This commit is contained in:
julianb0 2019-06-16 19:53:48 +02:00
parent 0d6adecc3e
commit 9ac77e5677
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
1 changed files with 8 additions and 4 deletions

View File

@ -36,15 +36,19 @@ void dump_instr(ctx_t *ctx,
#if _ATT_STYLE == 0
log("%s", in->name);
#else
char s1[2] = {0, 0}, s2[2] = {0, 0};
char s0[2] = {0,0}, s1[2] = {0, 0}, s2[2] = {0, 0};
if (p1 && ACC_IS_MEM(p1))
if (p1 && ACC_IS_MEM(p1)) {
s0[0] = ':';
s1[0] = getmempref(p1->mlen);
}
if (p2 && ACC_IS_MEM(p2))
if (p2 && ACC_IS_MEM(p2)) {
s0[0] = ':';
s2[0] = getmempref(p2->mlen);
}
log("%s%s%s", in->name, s1, s2);
log("%s%s%s%s", in->name, s0, s1, s2);
#endif
if (rep)