From: <ni...@us...> - 2008-09-04 14:30:50
|
Revision: 298 http://mspsim.svn.sourceforge.net/mspsim/?rev=298&view=rev Author: nifi Date: 2008-09-04 14:30:47 +0000 (Thu, 04 Sep 2008) Log Message: ----------- fixed bug in mov instruction - removed status register update Modified Paths: -------------- mspsim/se/sics/mspsim/core/MSP430Core.java Modified: mspsim/se/sics/mspsim/core/MSP430Core.java =================================================================== --- mspsim/se/sics/mspsim/core/MSP430Core.java 2008-09-03 16:01:38 UTC (rev 297) +++ mspsim/se/sics/mspsim/core/MSP430Core.java 2008-09-04 14:30:47 UTC (rev 298) @@ -1073,9 +1073,10 @@ case MOV: // MOV dst = src; write = true; + updateStatus = false; break; // FIX THIS!!! - make SUB a separate operation so that - // it is clear that overflow flag is corretct... + // it is clear that overflow flag is correct... case SUB: // Carry always 1 with SUB tmpAdd = 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |