Beispiel #1
0
        TInstruction Compile <TInstruction>(InstructionSource source)
            where TInstruction : Engine.Instruction
        {
            var instr = source.Compile();

            Assert.IsInstanceOfType(instr, typeof(TInstruction));
            return((TInstruction)instr);
        }
 public InstructionOrigin(InstructionSource source, InstructionCode opCode, ushort memoryAddress)
 {
     Source  = source;
     OpCode  = opCode;
     Address = memoryAddress;
 }
 public InstructionOrigin(InstructionSource source, InstructionCode opCode, ushort memoryAddress)
 {
     Source = source;
     OpCode = opCode;
     Address = memoryAddress;
 }