示例#1
0
文件: Opcode.cs 项目: chazjn/Z80CPU
 public Opcode(string name, byte value, Func <Z80, TStates> action)
 {
     Name   = name;
     Action = action;
     Values = new List <Oprand>
     {
         Oprand.Parse(value)
     };
 }
示例#2
0
文件: Opcode.cs 项目: chazjn/Z80CPU
 public Opcode(string name, byte value1, byte value2, Oprand value3, Func <Z80, TStates> action)
 {
     Name   = name;
     Action = action;
     Values = new List <Oprand>
     {
         Oprand.Parse(value1),
         Oprand.Parse(value2),
         value3
     };
 }