Fix an undefined shift operation.

This commit is contained in:
Unknown W. Brackets committed 2015-01-19 08:38:16 -08:00
1 parent d4f6b49dc4
commit 85fa35f651
1 file changed
+3 -1
+3 -1
View File
@@ -1293,7 +1293,9 @@ lPling:
op = num(op, rot);
}
else {
imm8 = (imm8>>rot) | (imm8<<(32-rot));
if (rot != 0) {
imm8 = (imm8>>rot) | (imm8<<(32-rot));
}
if (c=='*') {
*op++='#';
if (imm8>256 && ((imm8&(imm8-1))==0)) {