1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
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

View File

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