/// <summary> /// Emits the specified platform instruction. /// </summary> /// <param name="context">The context.</param> /// <param name="emitter">The emitter.</param> protected virtual void Emit(Context context, MachineCodeEmitter emitter) { uint opCode = ComputeOpCode(context.Result, context.Operand1, context.Operand2); emitter.WriteOpcode(opCode); }
/// <summary> /// Emits the specified platform instruction. /// </summary> /// <param name="context">The context.</param> /// <param name="emitter">The emitter.</param> protected virtual void Emit(Context context, MachineCodeEmitter emitter) { //OpCode opCode = ComputeOpCode(context.Result, context.Operand1, context.Operand2); //emitter.Emit(opCode, context.Result, context.Operand1, context.Operand2); }