mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 00:32:44 +00:00
sprintf format bug
This commit is contained in:
parent
42c6b1751e
commit
392a93a623
@ -1023,11 +1023,11 @@ static ULO cpuDisMovep(ULO prc, UWO opc, STR *sdata, STR *sinstruction, STR *sop
|
||||
sprintf(sinstruction, "MOVEP.%c", sizech);
|
||||
if (to_mem)
|
||||
{
|
||||
sprintf(soperands, "D%1d,$.4X(A%d)", dataregno, disp, adrregno);
|
||||
sprintf(soperands, "D%1d,$%.4X(A%d)", dataregno, disp, adrregno);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(soperands, "$.4X(A%1d),D%1d,", disp, adrregno, dataregno);
|
||||
sprintf(soperands, "$%.4X(A%1d),D%1d,", disp, adrregno, dataregno);
|
||||
}
|
||||
return prc + 4;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user