Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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;
 }