Fix an undefined shift operation.

This commit is contained in:
Unknown W. Brackets 2015-01-19 08:36:05 -08:00
parent d4f6b49dc4
commit 85fa35f651

View file

@ -1293,7 +1293,9 @@ lPling:
op = num(op, rot); op = num(op, rot);
} }
else { else {
if (rot != 0) {
imm8 = (imm8>>rot) | (imm8<<(32-rot)); imm8 = (imm8>>rot) | (imm8<<(32-rot));
}
if (c=='*') { if (c=='*') {
*op++='#'; *op++='#';
if (imm8>256 && ((imm8&(imm8-1))==0)) { if (imm8>256 && ((imm8&(imm8-1))==0)) {