Пример #1
0
 public MachineRegister(string name, int code, int bits, MachineSpec spec)
 {
     Name = name;
     Code = code;
     Bits = bits;
     InstructionSets.Add(spec);
 }
Пример #2
0
 public MachineRegister(string name, int code, int bits, MachineSpec spec)
 {
     Name = name;
     Code = code;
     Bits = bits;
     InstructionSets.Add(spec);
 }
Пример #3
0
 public MachineRegister(string name, int code, MachineRegisterType type, MachineSpec spec)
 {
     Name = name;
     Code = code;
     RegisterType = type;
     Bits = type.Bits;
     InstructionSets.Add(spec);
 }
Пример #4
0
 public MachineRegister(string name, int code, MachineRegisterType type, MachineSpec spec)
 {
     Name         = name;
     Code         = code;
     RegisterType = type;
     Bits         = type.Bits;
     InstructionSets.Add(spec);
 }
Пример #5
0
 public X86Register64(string name, int code, MachineRegisterType type, MachineSpec spec)
     : base(name, code, type, spec)
 {
 }
Пример #6
0
 public X86Register64(string name, int code, int bits, MachineSpec spec)
     : base(name, code, bits, spec)
 {
 }
Пример #7
0
 private static MachineRegister Create(string name, int number, int size, MachineSpec set)
 {
     var r = new MachineRegister(name, number, size, set);
     AllRegisters.Add(r);
     return r;
 }