22t
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() + ", " + regs.get(1).regString() + ", " + branchString(insn);
RegisterSpecList regs = insn.getRegisters(); return regs.get(0).regString() + ", " + regs.get(1).regString() + ", " + branchString(insn);
{@inheritDoc} return branchComment(insn);
return branchComment(insn);
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof TargetInsn) && (regs.size() == 2) && unsignedFitsInNibble(regs.get(0).getReg()) && unsignedFitsInNibble(regs.get(1).getReg()))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof TargetInsn) && (regs.size() == 2) && unsignedFitsInNibble(regs.get(0).getReg()) && unsignedFitsInNibble(regs.get(1).getReg()))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
{@inheritDoc} return null;
return null;
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, makeByte(regs.get(0).getReg(), regs.get(1).getReg())), (short) offset);
RegisterSpecList regs = insn.getRegisters(); int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, makeByte(regs.get(0).getReg(), regs.get(1).getReg())), (short) offset);