/// <summary> /// Calculate number of words to fit complete instruction bytecode. /// </summary> /// <returns>Number of words in instruction bytecode.</returns> public override uint GetWordCount() { uint wordCount = 0; wordCount += IdResultType.GetWordCount(); wordCount += IdResult.GetWordCount(); wordCount += SearchWindowConfig.GetWordCount(); wordCount += DualRef.GetWordCount(); return(wordCount); }
/// <summary> /// Calculate number of words to fit complete instruction bytecode. /// </summary> /// <returns>Number of words in instruction bytecode.</returns> public override uint GetWordCount() { uint wordCount = 0; wordCount += IdResultType.GetWordCount(); wordCount += IdResult.GetWordCount(); wordCount += RefOffset.GetWordCount(); wordCount += SearchWindowConfig.GetWordCount(); wordCount += Payload.GetWordCount(); return(wordCount); }