Correct move pseudo opcode

This commit is contained in:
Kingcom committed 2013-09-01 10:23:12 +02:00
1 parent 2a56694626
commit 46c9142406
1 file changed
+2 -2
+2 -2
View File
@@ -252,9 +252,9 @@ namespace MIPSDis
if (rs==0 && rt==0)
sprintf(out,"li\t%s, 0",RN(rd));
else if (rs == 0)
sprintf(out,"mov\t%s, %s",RN(rd),RN(rt));
sprintf(out,"move\t%s, %s",RN(rd),RN(rt));
else if (rt == 0)
sprintf(out,"mov\t%s, %s",RN(rd),RN(rs));
sprintf(out,"move\t%s, %s",RN(rd),RN(rs));
else
sprintf(out, "%s\t%s, %s, %s",name,RN(rd),RN(rs),RN(rt));
}