@Nonnull private BuilderInstruction11n newBuilderInstruction11n(@Nonnull Instruction11n instruction) { return new BuilderInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction11n newBuilderInstruction11n(@Nonnull Instruction11n instruction) { return new BuilderInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction11n newBuilderInstruction11n(@Nonnull Instruction11n instruction) { return new BuilderInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction11n newBuilderInstruction11n(@Nonnull Instruction11n instruction) { return new BuilderInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
@Nonnull private BuilderInstruction11n newBuilderInstruction11n(@Nonnull Instruction11n instruction) { return new BuilderInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
public static ImmutableInstruction11n of(Instruction11n instruction) { if (instruction instanceof ImmutableInstruction11n) { return (ImmutableInstruction11n)instruction; } return new ImmutableInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
public static ImmutableInstruction11n of(Instruction11n instruction) { if (instruction instanceof ImmutableInstruction11n) { return (ImmutableInstruction11n)instruction; } return new ImmutableInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
public void write(@Nonnull Instruction11n instruction) { try { writer.write(instruction.getOpcode().value); writer.write(packNibbles(instruction.getRegisterA(), instruction.getNarrowLiteral())); } catch (IOException ex) { throw new RuntimeException(ex); } }
public static ImmutableInstruction11n of(Instruction11n instruction) { if (instruction instanceof ImmutableInstruction11n) { return (ImmutableInstruction11n)instruction; } return new ImmutableInstruction11n( instruction.getOpcode(), instruction.getRegisterA(), instruction.getNarrowLiteral()); }
public void write(@Nonnull Instruction11n instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(packNibbles(instruction.getRegisterA(), instruction.getNarrowLiteral())); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction11n instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(packNibbles(instruction.getRegisterA(), instruction.getNarrowLiteral())); } catch (IOException ex) { throw new RuntimeException(ex); } }
case CONST_4: { instructions.add(new Constant.IntConstant(instLoc, ((Instruction11n)inst).getNarrowLiteral(),((Instruction11n)inst).getRegisterA(), inst.getOpcode(), this)); break;
case CONST_4: { instructions.add(new Constant.IntConstant(instLoc, ((Instruction11n)inst).getNarrowLiteral(),((Instruction11n)inst).getRegisterA(), inst.getOpcode(), this)); break;