예제 #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;
 }