Fix error in reti.

This commit is contained in:
cdkersey 2015-08-04 13:45:38 -06:00
parent 3459ed22aa
commit e77e43aecb

View file

@ -301,7 +301,7 @@ void Instruction::executeOn(Warp &c) {
reg[i] = c.shadowReg[i];
for (unsigned i = 0; i < pReg.size(); ++i)
pReg[i] = c.shadowPReg[i];
if (!pcSet) nextPc = c.shadowPc;
if (!pcSet) { nextPc = c.shadowPc; pcSet = true; }
}
break;
case ITOF: reg[rdest] = Float(double(Word_s(reg[rsrc[0]])), wordSz);