コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }