use decodeHighUnsignedNibble instead of decodeHighSignedNibble for regB in Instruction22t

git-svn-id: https://smali.googlecode.com/svn/trunk@512 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-12-23 05:28:28 +00:00
parent 311ee79fab
commit 01318cded8

View File

@ -65,7 +65,7 @@ public class Instruction22t extends Instruction implements OffsetInstruction, Tw
assert buffer[bufferIndex] == opcode.value; assert buffer[bufferIndex] == opcode.value;
regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
regB = NumberUtils.decodeHighSignedNibble(buffer[bufferIndex + 1]); regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
offset = NumberUtils.decodeShort(buffer, bufferIndex + 2); offset = NumberUtils.decodeShort(buffer, bufferIndex + 2);
assert offset != 0; assert offset != 0;