mirror of
https://github.com/reactos/reactos.git
synced 2026-06-22 07:42:41 +08:00
Fixing another bug in converting
PPC stwu r1,-32(r1) equal with intel mov [esp-32],esp; mov esp, esp - 32; svn path=/trunk/; revision=25518
This commit is contained in:
@@ -190,7 +190,7 @@ CPU_INT ConvertToIA32Process( FILE *outfp,
|
||||
{
|
||||
/* dest [eax - 0x20], source reg */
|
||||
|
||||
fprintf(outfp,"mov [");
|
||||
fprintf(outfp,"mov dword [");
|
||||
standardreg( RegTableCount,
|
||||
pMystart->dst,
|
||||
setup_ebp, outfp);
|
||||
@@ -199,6 +199,19 @@ CPU_INT ConvertToIA32Process( FILE *outfp,
|
||||
pMystart->src,
|
||||
setup_ebp, outfp);
|
||||
fprintf(outfp,"\n");
|
||||
|
||||
if ((pMystart->type & 128)== 128)
|
||||
{
|
||||
fprintf(outfp,"mov ");
|
||||
standardreg( RegTableCount,
|
||||
pMystart->src,
|
||||
setup_ebp, outfp);
|
||||
fprintf(outfp," , ");
|
||||
standardreg( RegTableCount,
|
||||
pMystart->dst,
|
||||
setup_ebp, outfp);
|
||||
fprintf(outfp," %d\n",pMystart->dst_extra);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user