示例#1
0
 public CpuInstruction(string name, CpuValue opCode, string[] microInstructions, IReadOnlyList <string> fields)
 {
     MicroInstructionNames = microInstructions;
     Fields = new InstructionField[fields.Count];
     Name   = name;
     OpCode = opCode;
     GetFields(fields);
 }
示例#2
0
 internal void AddField(InstructionField field)
 {
     _fields.Add(field);
 }