public static int getArg(DecodedInstruction insn, int arg) { switch (arg) { case 0: return insn.getA(); case 1: return insn.getB(); case 2: return insn.getC(); case 3: return insn.getD(); case 4: return insn.getE(); default: throw new JadxRuntimeException("Wrong argument number: " + arg); } }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Gets the E register number, as a nibble. This will throw if the * value is out of the range of an unsigned nibble. */ public final short getENibble() { int e = getE(); if ((e & ~0xf) != 0) { throw new DexException("Register E out of range: " + Hex.u8(e)); } return (short) e; }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }
/** * Helper method that encodes any of the register-list formats. */ private static void encodeRegisterList(DecodedInstruction insn, CodeOutput out) { out.write(codeUnit(insn.getOpcode(), makeByte(insn.getE(), insn.getRegisterCount())), insn.getIndexUnit(), codeUnit(insn.getA(), insn.getB(), insn.getC(), insn.getD())); }