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 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 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 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 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 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); }