21t
Constructs an instance. This class is not publicly instantiable. Use {@link #THE_ONE}. // This space intentionally left blank.
// This space intentionally left blank.
{@inheritDoc} int offset = insn.getTargetOffset(); // Note: A zero offset would fit, but it is prohibited by the spec. return (offset != 0) && signedFitsInShort(offset);
int offset = insn.getTargetOffset(); // Note: A zero offset would fit, but it is prohibited by the spec. return (offset != 0) && signedFitsInShort(offset);
{@inheritDoc} return 2;
return 2;
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); return regs.get(0).regString() + ", " + branchString(insn);
RegisterSpecList regs = insn.getRegisters(); return regs.get(0).regString() + ", " + branchString(insn);
{@inheritDoc} return branchComment(insn);
return branchComment(insn);
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof TargetInsn) && (regs.size() == 1) && unsignedFitsInByte(regs.get(0).getReg()))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof TargetInsn) && (regs.size() == 1) && unsignedFitsInByte(regs.get(0).getReg()))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
{@inheritDoc} return Form31t.THE_ONE;
return Form31t.THE_ONE;
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, regs.get(0).getReg()), (short) offset);
RegisterSpecList regs = insn.getRegisters(); int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, regs.get(0).getReg()), (short) offset);