本文整理汇总了C#中SharpAssembler.Architectures.X86.Operands.EffectiveAddress类的典型用法代码示例。如果您正苦于以下问题:C# EffectiveAddress类的具体用法?C# EffectiveAddress怎么用?C# EffectiveAddress使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EffectiveAddress类属于SharpAssembler.Architectures.X86.Operands命名空间,在下文中一共展示了EffectiveAddress类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Neg
/// <summary>
/// Initializes a new instance of the <see cref="Neg"/> class.
/// </summary>
/// <param name="value">The value.</param>
public Neg(EffectiveAddress value)
: this((Operand)value)
{
#region Contract
Contract.Requires<ArgumentNullException>(value != null);
#endregion
}
示例2: Inc
/// <summary>
/// Initializes a new instance of the <see cref="Inc"/> class.
/// </summary>
/// <param name="subject">The subject memory operand.</param>
public Inc(EffectiveAddress subject)
: this((Operand)subject)
{
#region Contract
Contract.Requires<ArgumentNullException>(subject != null);
#endregion
}
示例3: Mul
/// <summary>
/// Initializes a new instance of the <see cref="Mul"/> class.
/// </summary>
/// <param name="multiplier">The multiplier.</param>
public Mul(EffectiveAddress multiplier)
: this((Operand)multiplier)
{
#region Contract
Contract.Requires<ArgumentNullException>(multiplier != null);
#endregion
}
示例4: JmpFar
/// <summary>
/// Initializes a new instance of the <see cref="JmpFar"/> class.
/// </summary>
/// <param name="target">The memory location containing the new far jump target address and segment.</param>
public JmpFar(EffectiveAddress target)
: this((Operand)target)
{
#region Contract
Contract.Requires<ArgumentNullException>(target != null);
#endregion
}
示例5: Xadd
/// <summary>
/// Initializes a new instance of the <see cref="Xadd"/> class.
/// </summary>
/// <param name="destination">The destination memory operand.</param>
/// <param name="source">The source immediate register operand.</param>
public Xadd(EffectiveAddress destination, RegisterOperand source)
: this((Operand)destination, source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
示例6: 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
}
示例7: 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
}
示例8: ArithmeticInstruction
/// <summary>
/// Initializes a new instance of the <see cref="ArithmeticInstruction"/> class.
/// </summary>
/// <param name="destination">The destination memory operand.</param>
/// <param name="source">The source immediate operand.</param>
protected ArithmeticInstruction(EffectiveAddress destination, Immediate source)
: this((IRegisterOrMemoryOperand)destination, (ISourceOperand)source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
示例9: Cmpxchg8b
/// <summary>
/// Initializes a new instance of the <see cref="Cmpxchg8b"/> class.
/// </summary>
/// <param name="destination">The operand being compared and written to.</param>
public Cmpxchg8b(EffectiveAddress destination)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
#endregion
this.destination = destination;
}
示例10: Clflush
/// <summary>
/// Initializes a new instance of the <see cref="Clflush"/> class.
/// </summary>
/// <param name="address">The linear address to flush.</param>
public Clflush(EffectiveAddress address)
{
#region Contract
Contract.Requires<ArgumentNullException>(address != null);
#endregion
this.address = address;
}
示例11: 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
}
示例12: 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
}
示例13: 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;
}
示例14: 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;
}
示例15: 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;
}