本文整理汇总了C#中SharpOS.AOT.X86.R32Type.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# R32Type.ToString方法的具体用法?C# R32Type.ToString怎么用?C# R32Type.ToString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SharpOS.AOT.X86.R32Type
的用法示例。
在下文中一共展示了R32Type.ToString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SHRD___CL
/// <summary>
/// SHRD rmreg32,reg32,CL
/// </summary>
public void SHRD___CL (R32Type target, R32Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", null, target, source, null, new string [] { "o32", "0F", "AD", "/r" }));
}
示例2: SHR
/// <summary>
/// SHR rmreg32,imm8
/// </summary>
public void SHR (R32Type target, Byte source)
{
if (source == 1)
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__1", target.ToString () + ", " + "1", null, target, null, null, new string [] { "o32", "D1", "/5" }));
else {
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR", target.ToString () + ", " + string.Format ("0x{0:x}", source), null, target, null, new UInt32 [] { source }, new string [] { "o32", "C1", "/5", "ib" }));
}
}
示例3: SHRD
/// <summary>
/// SHRD rmreg32,reg32,imm8
/// </summary>
public void SHRD (R32Type target, R32Type source, Byte value)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD", target.ToString () + ", " + source.ToString () + ", " + string.Format ("0x{0:x}", value), null, target, source, new UInt32 [] { value }, new string [] { "o32", "0F", "AC", "/r", "ib" }));
}
示例4: BTS
/// <summary>
/// BTS rmreg32,imm8
/// </summary>
public void BTS (R32Type target, Byte source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BTS", target.ToString () + ", " + string.Format ("0x{0:x}", source), null, target, null, new UInt32 [] { source }, new string [] { "o32", "0F", "BA", "/5", "ib" }));
}
示例5: IMUL
/// <summary>
/// IMUL reg32,mem32,imm8
/// </summary>
public void IMUL (R32Type target, DWordMemory source, Byte value)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "IMUL", target.ToString () + ", " + source.ToString () + ", " + string.Format ("0x{0:x}", value), source, null, target, new UInt32 [] { value }, new string [] { "o32", "6B", "/r", "ib" }));
}
示例6: XCHG
/// <summary>
/// XCHG mem32,reg32
/// </summary>
public void XCHG (DWordMemory target, R32Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XCHG", target.ToString () + ", " + source.ToString (), target, null, source, null, new string [] { "o32", "87", "/r" }));
}
示例7: XOR
/// <summary>
/// XOR rmreg32,reg32
/// </summary>
public void XOR (R32Type target, R32Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), null, target, source, null, new string [] { "o32", "31", "/r" }));
}
示例8: BOUND
/// <summary>
/// BOUND reg32,mem
/// </summary>
public void BOUND (R32Type target, Memory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BOUND", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "62", "/r" }));
}
示例9: NEG
/// <summary>
/// NEG rmreg32
/// </summary>
public void NEG (R32Type target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), null, target, null, null, new string [] { "o32", "F7", "/3" }));
}
示例10: MOV
/// <summary>
/// MOV segreg,rmreg32
/// </summary>
public void MOV (SegType target, R32Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "o32", "8E", "/r" }));
}
示例11: MOVZX
/// <summary>
/// MOVZX reg32,mem16
/// </summary>
public void MOVZX (R32Type target, WordMemory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOVZX", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "0F", "B7", "/r" }));
}
示例12: SUB
/// <summary>
/// SUB reg32,mem32
/// </summary>
public void SUB (R32Type target, DWordMemory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SUB", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "2B", "/r" }));
}
示例13: BSF
/// <summary>
/// BSF reg32,rmreg32
/// </summary>
public void BSF (R32Type target, R32Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BSF", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "o32", "0F", "BC", "/r" }));
}
示例14: PUSH
/// <summary>
/// PUSH reg32
/// </summary>
public void PUSH (R32Type target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "PUSH", target.ToString (), null, null, target, null, new string [] { "o32", "50+r" }));
}
示例15: BSWAP
/// <summary>
/// BSWAP reg32
/// </summary>
public void BSWAP (R32Type target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BSWAP", target.ToString (), null, null, target, null, new string [] { "o32", "0F", "C8+r" }));
}