/// <summary> /// Constructor for an instruction segment that is a register /// </summary> /// <param name="value"> the value</param> /// <param name="size"> the size of the segment</param> /// <param name="type"> the type of the segment</param> /// <param name="name"> the name of the segment</param> public InstructionSegment(int value, int size, EnumSegmentType type, string name) : this(value, size, type) { this.name = name; }
/// <summary> /// Constructor for an instruction segment that is a literal value /// </summary> /// <param name="value"> the value</param> /// <param name="size"> the size of the segment</param> /// <param name="type"> the type of the segment</param> public InstructionSegment(int value, int size, EnumSegmentType type) { this.value = value; this.size = size; this.type = type; }