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:47:17 +02:00
parent 76874ad7c3
commit d60abc509a
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -27,13 +27,13 @@ void dump_instr(ctx_t *ctx,
uint cond, uint cond,
ulong pc) ulong pc)
{ {
log("0x%lX: ", pc); log("0x%lX:\t", pc);
if (lock) if (lock)
log("lock"); log("lock");
#ifndef _ATT_STYLE #ifndef _ATT_STYLE
log("%s\t", in->name); log("%s", in->name);
#else #else
char s1[2] = {0, 0}, s2[2] = {0, 0}; char s1[2] = {0, 0}, s2[2] = {0, 0};
@ -43,7 +43,7 @@ void dump_instr(ctx_t *ctx,
if (p2 && ACC_IS_MEM(p2)) if (p2 && ACC_IS_MEM(p2))
s2[0] = getmempref(p2->mlen); s2[0] = getmempref(p2->mlen);
log("%s%s%s\t", in->name, s1, s2); log("%s%s%s", in->name, s1, s2);
#endif #endif
if (rep) if (rep)
@ -70,6 +70,7 @@ void dump_instr(ctx_t *ctx,
else else
log("\t"); log("\t");
if (p1) {
#ifndef _ATT_STYLE #ifndef _ATT_STYLE
dump_acc(ctx, p1); dump_acc(ctx, p1);
if (p2) { if (p2) {