本文整理汇总了C#中SharpAssembler.Architectures.X86.Operands.RegisterOperand类的典型用法代码示例。如果您正苦于以下问题:C# RegisterOperand类的具体用法?C# RegisterOperand怎么用?C# RegisterOperand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RegisterOperand类属于SharpAssembler.Architectures.X86.Operands命名空间,在下文中一共展示了RegisterOperand类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Inc
/// <summary>
/// Initializes a new instance of the <see cref="Inc"/> class.
/// </summary>
/// <param name="subject">The subject register operand.</param>
public Inc(RegisterOperand subject)
: this((Operand)subject)
{
#region Contract
Contract.Requires<ArgumentNullException>(subject != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Inc.cs
示例2: JmpNear
/// <summary>
/// Initializes a new instance of the <see cref="JmpNear"/> class.
/// </summary>
/// <param name="target">The register containing the new near jump target address.</param>
public JmpNear(RegisterOperand target)
: this((Operand)target)
{
#region Contract
Contract.Requires<ArgumentNullException>(target != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:JmpNear.cs
示例3: Mul
/// <summary>
/// Initializes a new instance of the <see cref="Mul"/> class.
/// </summary>
/// <param name="multiplier">The multiplier.</param>
public Mul(RegisterOperand multiplier)
: this((Operand)multiplier)
{
#region Contract
Contract.Requires<ArgumentNullException>(multiplier != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Mul.cs
示例4: Pop
/// <summary>
/// Initializes a new instance of the <see cref="Pop"/> class.
/// </summary>
/// <param name="destination">The destination memory operand.</param>
public Pop(RegisterOperand destination)
: this((Operand)destination)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Pop.cs
示例5: In
/// <summary>
/// Initializes a new instance of the <see cref="In"/> class.
/// </summary>
/// <param name="port">The port.</param>
public In(RegisterOperand port)
: this((Operand)port)
{
#region Contract
Contract.Requires<ArgumentNullException>(port != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:In.cs
示例6: Not
/// <summary>
/// Initializes a new instance of the <see cref="Not"/> class.
/// </summary>
/// <param name="value">The value.</param>
public Not(RegisterOperand value)
: this((Operand)value)
{
#region Contract
Contract.Requires<ArgumentNullException>(value != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:11,代码来源:Not.cs
示例7: Bsf
/// <summary>
/// Initializes a new instance of the <see cref="Bsf"/> class.
/// </summary>
/// <param name="destination">The register in which the bit's index will be stored.</param>
/// <param name="subject">The register operand which is checked.</param>
public Bsf(RegisterOperand destination, RegisterOperand subject)
: this(destination, (Operand)subject)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(subject != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:Bsf.cs
示例8: Popcnt
/// <summary>
/// Initializes a new instance of the <see cref="Popcnt"/> class.
/// </summary>
/// <param name="destination">The register in which the bit's index will be stored.</param>
/// <param name="subject">The memory operand which is checked.</param>
public Popcnt(RegisterOperand destination, EffectiveAddress subject)
: this(destination, (Operand)subject)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(subject != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Popcnt.cs
示例9: Xadd
/// <summary>
/// Initializes a new instance of the <see cref="Xadd"/> class.
/// </summary>
/// <param name="destination">The destination register operand.</param>
/// <param name="source">The source immediate register operand.</param>
public Xadd(RegisterOperand destination, RegisterOperand source)
: this((Operand)destination, source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:Xadd.cs
示例10: Cmpxchg
/// <summary>
/// Initializes a new instance of the <see cref="Cmpxchg"/> class.
/// </summary>
/// <param name="compared">The memory operand being compared.</param>
/// <param name="source">The source operand.</param>
public Cmpxchg(EffectiveAddress compared, RegisterOperand source)
: this((Operand)compared, source)
{
#region Contract
Contract.Requires<ArgumentNullException>(compared != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Cmpxchg.cs
示例11: Movsxd
/// <summary>
/// Initializes a new instance of the <see cref="Movsxd"/> class.
/// </summary>
/// <param name="destination">The destination register.</param>
/// <param name="source">The source memory operand.</param>
public Movsxd(RegisterOperand destination, EffectiveAddress source)
: this(destination, (Operand)source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:Movsxd.cs
示例12: Bswap
/// <summary>
/// Initializes a new instance of the <see cref="Bswap"/> class.
/// </summary>
/// <param name="subject">The register whose bytes will be swapped.</param>
public Bswap(RegisterOperand subject)
{
#region Contract
Contract.Requires<ArgumentNullException>(subject != null);
#endregion
this.subject = subject;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:12,代码来源:Bswap.cs
示例13: Btc
/// <summary>
/// Initializes a new instance of the <see cref="Btc"/> class.
/// </summary>
/// <param name="subject">The memory operand whose bit is copied and toggled.</param>
/// <param name="bitIndex">The index of the bit to copy.</param>
public Btc(EffectiveAddress subject, RegisterOperand bitIndex)
: this((Operand)subject, (Operand)bitIndex)
{
#region Contract
Contract.Requires<ArgumentNullException>(subject != null);
Contract.Requires<ArgumentNullException>(bitIndex != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Btc.cs
示例14: ArithmeticInstruction
/// <summary>
/// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
/// </summary>
/// <param name="destination">The destination register operand.</param>
/// <param name="source">The source immediate operand.</param>
protected ArithmeticInstruction(RegisterOperand destination, Immediate source)
: this((IRegisterOrMemoryOperand)destination, (ISourceOperand)source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentException>(destination.Register.IsGeneralPurposeRegister());
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:14,代码来源:ArithmeticInstruction.cs
示例15: Shrd
/// <summary>
/// Initializes a new instance of the <see cref="Shrd"/> class.
/// </summary>
/// <param name="value">The value to shift.</param>
/// <param name="source">The bits to shift in.</param>
/// <param name="positions">The number of positions to adjust.</param>
public Shrd(RegisterOperand value, RegisterOperand source, Immediate positions)
: this((Operand)positions, source, (Operand)positions)
{
#region Contract
Contract.Requires<ArgumentNullException>(value != null);
Contract.Requires<ArgumentNullException>(source != null);
Contract.Requires<ArgumentNullException>(positions != null);
#endregion
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:15,代码来源:Shrd.cs
示例16: Bound
/// <summary>
/// Initializes a new instance of the <see cref="Bound"/> class.
/// </summary>
/// <param name="index">The array index to check.</param>
/// <param name="bounds">Memory address of two (double)words specifying the lower and upper limits of the
/// array.</param>
public Bound(RegisterOperand index, EffectiveAddress bounds)
{
#region Contract
Contract.Requires<ArgumentNullException>(index != null);
Contract.Requires<ArgumentNullException>(bounds != null);
#endregion
this.index = index;
this.bounds = bounds;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:16,代码来源:Bound.cs
示例17: Movmskpd
/// <summary>
/// Initializes a new instance of the <see cref="Movmskpd"/> class.
/// </summary>
/// <param name="destination">The destination register.</param>
/// <param name="source">The source register.</param>
public Movmskpd(RegisterOperand destination, RegisterOperand source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
this.destination = destination;
this.source = source;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:15,代码来源:Movmskpd.cs
示例18: Lds
/// <summary>
/// Initializes a new instance of the <see cref="Lds"/> class.
/// </summary>
/// <param name="destination">The destination operand.</param>
/// <param name="source">The source operand.</param>
public Lds(RegisterOperand destination, EffectiveAddress source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
this.destination = destination;
this.source = source;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:15,代码来源:Lds.cs
示例19: Lea
/// <summary>
/// Initializes a new instance of the <see cref="Lea"/> class.
/// </summary>
/// <param name="destination">The destination register operand.</param>
/// <param name="address">The address.</param>
public Lea(RegisterOperand destination, EffectiveAddress address)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(address != null);
#endregion
this.destination = destination;
this.address = address;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:15,代码来源:Lea.cs
示例20: Xadd
/// <summary>
/// Initializes a new instance of the <see cref="Xadd"/> class.
/// </summary>
/// <param name="destination">The destination operand.</param>
/// <param name="source">The source operand.</param>
private Xadd(Operand destination, RegisterOperand source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<InvalidCastException>(
destination is EffectiveAddress ||
destination is RegisterOperand);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
this.destination = destination;
this.source = source;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:18,代码来源:Xadd.cs
注:本文中的SharpAssembler.Architectures.X86.Operands.RegisterOperand类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论