@Nonnull private BuilderInstruction32x newBuilderInstruction32x(@Nonnull Instruction32x instruction) { return new BuilderInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
@Nonnull private BuilderInstruction32x newBuilderInstruction32x(@Nonnull Instruction32x instruction) { return new BuilderInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
@Nonnull private BuilderInstruction32x newBuilderInstruction32x(@Nonnull Instruction32x instruction) { return new BuilderInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
@Nonnull private BuilderInstruction32x newBuilderInstruction32x(@Nonnull Instruction32x instruction) { return new BuilderInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
@Nonnull private BuilderInstruction32x newBuilderInstruction32x(@Nonnull Instruction32x instruction) { return new BuilderInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
public static ImmutableInstruction32x of(Instruction32x instruction) { if (instruction instanceof ImmutableInstruction32x) { return (ImmutableInstruction32x) instruction; } return new ImmutableInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
public static ImmutableInstruction32x of(Instruction32x instruction) { if (instruction instanceof ImmutableInstruction32x) { return (ImmutableInstruction32x)instruction; } return new ImmutableInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
public static ImmutableInstruction32x of(Instruction32x instruction) { if (instruction instanceof ImmutableInstruction32x) { return (ImmutableInstruction32x)instruction; } return new ImmutableInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
public static ImmutableInstruction32x of(Instruction32x instruction) { if (instruction instanceof ImmutableInstruction32x) { return (ImmutableInstruction32x)instruction; } return new ImmutableInstruction32x( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB()); }
public void write(@Nonnull Instruction32x instruction) { try { writer.write(instruction.getOpcode().value); writer.write(0); writer.writeUshort(instruction.getRegisterA()); writer.writeUshort(instruction.getRegisterB()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction32x instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(0); writer.writeUshort(instruction.getRegisterA()); writer.writeUshort(instruction.getRegisterB()); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction32x instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(0); writer.writeUshort(instruction.getRegisterA()); writer.writeUshort(instruction.getRegisterB()); } catch (IOException ex) { throw new RuntimeException(ex); } }