Two minor bugfixes

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1935 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
unzner
2012-11-20 09:58:44 +00:00
parent 49d1608969
commit 4db7272e5f
3 changed files with 135 additions and 121 deletions

View File

@ -136,6 +136,9 @@ void BochsALUInstructions::randomEquivalent(bxInstruction_c &result,
if (dest.opcodeRegisterOffset < BochsALUInstr::REG_COUNT) {
result.setRm(dest.opcodeRegisterOffset);
}
if (dest.reg < BochsALUInstr::REG_COUNT) {
result.setNnn(dest.reg);
}
}
#ifdef DEBUG