Fixes for a few instruction formats that have a blank byte after the opcode

git-svn-id: https://smali.googlecode.com/svn/trunk@415 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com
2009-08-25 00:58:14 +00:00
parent c74042b943
commit 2773319471
3 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public class Instruction10x extends Instruction {
public static void emit(Output out, Opcode opcode) {
out.writeByte(opcode.value);
out.writeByte(0);
}
public Instruction10x(Opcode opcode, byte[] buffer, int bufferIndex) {

View File

@ -43,6 +43,7 @@ public class Instruction20t extends Instruction {
}
out.writeByte(opcode.value);
out.writeByte(0);
out.writeShort(offA);
}

View File

@ -40,6 +40,7 @@ public class Instruction30t extends Instruction
public static void emit(Output out, Opcode opcode, int offA) {
out.writeByte(opcode.value);
out.writeByte(0);
out.writeInt(offA);
}