コード例 #1
0
ファイル: NashaInstruction.cs プロジェクト: xuan2261/NashaVM
 public NashaInstruction(NashaOpcode opcode, object operand = null)
 {
     OpCode  = opcode;
     Operand = operand;
 }
コード例 #2
0
 public static IHandler Lookup(NashaOpcode opcode)
 {
     return(VmOpCodeToHandler.ContainsKey(opcode) ? VmOpCodeToHandler[opcode] : null);
 }