本文整理汇总了C#中SharpAssembler.Architectures.X86.Operands.EffectiveAddress类的典型用法代码示例。如果您正苦于以下问题:C# EffectiveAddress类的具体用法?C# EffectiveAddress怎么用?C# EffectiveAddress使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EffectiveAddress类属于SharpAssembler.Architectures.X86.Operands命名空间,在下文中一共展示了EffectiveAddress类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Neg.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Inc.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Mul.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:JmpFar.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Xadd.cs
示例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
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:Movsxd.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Btc.cs
示例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
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:ArithmeticInstruction.cs
示例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;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:12,代码来源:Cmpxchg8b.cs
示例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;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:12,代码来源:Clflush.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Popcnt.cs
示例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
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:13,代码来源:Cmpxchg.cs
示例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;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:15,代码来源:Lea.cs
示例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;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:16,代码来源:Bound.cs
示例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;
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:15,代码来源:Lds.cs
示例16: Prefetchl
/// <summary>
/// Initializes a new instance of the <see cref="Prefetchl"/> class.
/// </summary>
/// <param name="address">The address to prefetch.</param>
/// <param name="level">The prefetch level.</param>
public Prefetchl(EffectiveAddress address, PrefetchLevel level)
{
#region Contract
Contract.Requires<ArgumentNullException>(address != null);
Contract.Requires<InvalidEnumArgumentException>(Enum.IsDefined(typeof(PrefetchLevel), level));
Contract.Requires<ArgumentException>(level != PrefetchLevel.None);
#endregion
this.address = address;
this.level = level;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:16,代码来源:Prefetchl.cs
示例17: Imul
/// <summary>
/// Initializes a new instance of the <see cref="Imul"/> class.
/// </summary>
/// <param name="destination">The destination operand.</param>
/// <param name="source">The source operand.</param>
/// <param name="multiplier">The multiplier.</param>
public Imul(RegisterOperand destination, EffectiveAddress source, Immediate multiplier)
: this(destination, (Operand)source, (Operand)multiplier)
{
#region Contract
Contract.Requires<ArgumentNullException>(multiplier != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:13,代码来源:Imul.cs
示例18: Adc
/// <summary>
/// Initializes a new instance of the <see cref="Adc"/> class.
/// </summary>
/// <param name="destination">The destination register operand.</param>
/// <param name="source">The source register or memory operand.</param>
public Adc(RegisterOperand destination, EffectiveAddress source)
: base(destination, source)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<ArgumentException>(destination.Register.IsGeneralPurposeRegister());
Contract.Requires<ArgumentNullException>(source != null);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:14,代码来源:Adc.cs
示例19: 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)
{
this.index = index;
this.bounds = bounds;
}
开发者ID:Konctantin,项目名称:SharpAssembler,代码行数:11,代码来源:Bound.cs
示例20: Set
/// <summary>
/// Initializes a new instance of the <see cref="Set"/> class.
/// </summary>
/// <param name="destination">The destination memory operand.</param>
/// <param name="condition">The condition on which this instruction executes.</param>
public Set(EffectiveAddress destination, InstructionCondition condition)
: this((Operand)destination, condition)
{
#region Contract
Contract.Requires<ArgumentNullException>(destination != null);
Contract.Requires<InvalidEnumArgumentException>(Enum.IsDefined(typeof(InstructionCondition), condition));
Contract.Requires<ArgumentException>(condition != InstructionCondition.None);
#endregion
}
开发者ID:Konctantin,项目名称:CSharpAssembler,代码行数:14,代码来源:Set.cs
注:本文中的SharpAssembler.Architectures.X86.Operands.EffectiveAddress类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论