@Nonnull private BuilderInstruction22c newBuilderInstruction22c(@Nonnull Instruction22c instruction) { return new BuilderInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), convertReference(instruction.getReference())); }
@Nonnull private BuilderInstruction22c newBuilderInstruction22c(@Nonnull Instruction22c instruction) { return new BuilderInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
@Nonnull private BuilderInstruction22c newBuilderInstruction22c(@Nonnull Instruction22c instruction) { return new BuilderInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
@Nonnull private BuilderInstruction22c newBuilderInstruction22c(@Nonnull Instruction22c instruction) { return new BuilderInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
@Nonnull private BuilderInstruction22c newBuilderInstruction22c(@Nonnull Instruction22c instruction) { return new BuilderInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), convertReference(instruction.getReference())); }
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
public void write(@Nonnull Instruction22c instruction) { try { writer.write(instruction.getOpcode().value); writer.write(packNibbles(instruction.getRegisterA(), instruction.getRegisterB())); writer.writeUshort(getReferenceIndex(instruction)); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction22c instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(packNibbles(instruction.getRegisterA(), instruction.getRegisterB())); writer.writeUshort(getReferenceIndex(instruction)); } catch (IOException ex) { throw new RuntimeException(ex); } }
public void write(@Nonnull Instruction22c instruction) { try { writer.write(getOpcodeValue(instruction.getOpcode())); writer.write(packNibbles(instruction.getRegisterA(), instruction.getRegisterB())); writer.writeUshort(getReferenceIndex(instruction)); } catch (IOException ex) { throw new RuntimeException(ex); } }