Ejemplo n.º 1
0
 /// <summary>
 /// Emits the specified platform instruction.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="emitter">The emitter.</param>
 protected override void Emit(Context context, MachineCodeEmitter emitter)
 {
     if (context.Operand1.IsRegister)
     {
          emitter.EmitSingleRegisterInstructions(0x11, (byte)context.Operand1.Register.RegisterCode);
     }
     else
         throw new Exception("Not supported combination of operands");
 }