mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
att
This commit is contained in:
parent
0d6adecc3e
commit
9ac77e5677
12
vm/pc/dump.c
12
vm/pc/dump.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user