realemu: fix precedence bug in argconv() format routine (thanks dan cross)
This commit is contained in:
parent
e138750028
commit
a3c2819c50
1 changed files with 4 additions and 3 deletions
|
@ -203,9 +203,10 @@ argconv(char *p, Inst *i, Iarg *a)
|
|||
if(i->sreg != RDS)
|
||||
p += sprint(p, "%cS:", "ECSDFG"[i->sreg - RES]);
|
||||
if(a->atype == AOb || a->atype == AOv || (i->mod == 0 &&
|
||||
(i->alen == 2 && i->rm == 6) ||
|
||||
(i->alen == 4 && ((i->rm == 5) ||
|
||||
(i->rm == 4 && i->index == 4 && i->base == 5))))){
|
||||
((i->alen == 2 && i->rm == 6) ||
|
||||
(i->alen == 4 &&
|
||||
((i->rm == 5) ||
|
||||
(i->rm == 4 && i->index == 4 && i->base == 5)))))){
|
||||
p += sprint(p, "[%.*lux]", (int)i->alen*2, a->off);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue