protected ImmutableInstruction(@Nonnull Opcode opcode) { Preconditions.checkFormat(opcode, getFormat()); this.opcode = opcode; }
public BuilderInstruction3rms(@Nonnull Opcode opcode, int startRegister, int registerCount, int vtableIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.vtableIndex = vtableIndex; }
public ImmutableInstruction3rmi(@Nonnull Opcode opcode, int startRegister, int registerCount, int inlineIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
public ImmutableInstruction3rms(@Nonnull Opcode opcode, int startRegister, int registerCount, int vtableIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }
public ImmutableInstruction22x(@Nonnull Opcode opcode, int registerA, int registerB) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.registerB = Preconditions.checkShortRegister(registerB); }
public ImmutableInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.literal = Preconditions.checkLongHatLiteral(literal); }
public BuilderInstruction11n(@Nonnull Opcode opcode, int registerA, int literal) { super(opcode); this.registerA = Preconditions.checkNibbleRegister(registerA); this.literal = Preconditions.checkNibbleLiteral(literal); }
public ImmutableInstruction23x(@Nonnull Opcode opcode, int registerA, int registerB, int registerC) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.registerB = Preconditions.checkByteRegister(registerB); this.registerC = Preconditions.checkByteRegister(registerC); }
public ImmutableInstruction22b(@Nonnull Opcode opcode, int registerA, int registerB, int literal) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.registerB = Preconditions.checkByteRegister(registerB); this.literal = Preconditions.checkByteLiteral(literal); }
public ImmutableInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.literal = Preconditions.checkIntegerHatLiteral(literal); }
public ImmutableInstruction21s(@Nonnull Opcode opcode, int registerA, int literal) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.literal = Preconditions.checkShortLiteral(literal); }
public BuilderInstruction32x(Opcode opcode, int registerA, int registerB) { super(opcode); this.registerA = Preconditions.checkShortRegister(registerA); this.registerB = Preconditions.checkShortRegister(registerB); }
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cAnd45ccRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
public ImmutableInstruction22cs(@Nonnull Opcode opcode, int registerA, int registerB, int fieldOffset) { super(opcode); this.registerA = Preconditions.checkNibbleRegister(registerA); this.registerB = Preconditions.checkNibbleRegister(registerB); this.fieldOffset = Preconditions.checkFieldOffset(fieldOffset); }
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
public ImmutableInstruction21t(@Nonnull Opcode opcode, int registerA, int codeOffset) { super(opcode); this.registerA = Preconditions.checkByteRegister(registerA); this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset); }
public ImmutableInstruction10t(@Nonnull Opcode opcode, int codeOffset) { super(opcode); this.codeOffset = Preconditions.checkByteCodeOffset(codeOffset); }
public BuilderInstruction3rms(@Nonnull Opcode opcode, int startRegister, int registerCount, int vtableIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.vtableIndex = vtableIndex; }
public ImmutableInstruction3rmi(@Nonnull Opcode opcode, int startRegister, int registerCount, int inlineIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
public ImmutableInstruction3rms(@Nonnull Opcode opcode, int startRegister, int registerCount, int vtableIndex) { super(opcode); this.startRegister = Preconditions.checkShortRegister(startRegister); this.registerCount = Preconditions.checkRegisterRangeCount(registerCount); this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }