Example #1
0
 public Opcode(string name, byte value, Func <Z80, TStates> action)
 {
     Name   = name;
     Action = action;
     Values = new List <Oprand>
     {
         Oprand.Parse(value)
     };
 }
Example #2
0
 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
     };
 }