本文整理汇总了C#中SharpOS.AOT.X86.WordMemory.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# WordMemory.ToString方法的具体用法?C# WordMemory.ToString怎么用?C# WordMemory.ToString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SharpOS.AOT.X86.WordMemory
的用法示例。
在下文中一共展示了WordMemory.ToString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: TEST
/// <summary>
/// TEST mem16,imm16
/// </summary>
public void TEST (WordMemory target, UInt16 source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "TEST", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "o16", "F7", "/0", "iw" }));
}
示例2: VERW
/// <summary>
/// VERW mem16
/// </summary>
public void VERW (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "VERW", target.ToString (), target, null, null, null, new string [] { "0F", "00", "/5" }));
}
示例3: SHRD___CL
/// <summary>
/// SHRD mem16,reg16,CL
/// </summary>
public void SHRD___CL (WordMemory target, R16Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", target, null, source, null, new string [] { "o16", "0F", "AD", "/r" }));
}
示例4: SMSW
/// <summary>
/// SMSW mem16
/// </summary>
public void SMSW (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SMSW", target.ToString (), target, null, null, null, new string [] { "0F", "01", "/4" }));
}
示例5: FLDCW
/// <summary>
/// FLDCW mem16
/// </summary>
public void FLDCW (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FLDCW", target.ToString (), target, null, null, null, new string [] { "D9", "/5" }));
}
示例6: SHRD
/// <summary>
/// SHRD mem16,reg16,imm8
/// </summary>
public void SHRD (WordMemory target, R16Type source, Byte value)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD", target.ToString () + ", " + source.ToString () + ", " + string.Format ("0x{0:x}", value), target, null, source, new UInt32 [] { value }, new string [] { "o16", "0F", "AC", "/r", "ib" }));
}
示例7: POP
/// <summary>
/// POP mem16
/// </summary>
public void POP (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "POP", target.ToString (), target, null, null, null, new string [] { "o16", "8F", "/0" }));
}
示例8: CALL
/// <summary>
/// CALL mem16
/// </summary>
public void CALL (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "CALL", target.ToString (), target, null, null, null, new string [] { "o16", "FF", "/2" }));
}
示例9: 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" }));
}
示例10: NEG
/// <summary>
/// NEG mem16
/// </summary>
public void NEG (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), target, null, null, null, new string [] { "o16", "F7", "/3" }));
}
示例11: MOV
/// <summary>
/// MOV segreg,mem16
/// </summary>
public void MOV (SegType target, WordMemory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "8E", "/r" }));
}
示例12: IMUL
/// <summary>
/// IMUL reg16,mem16,imm16
/// </summary>
public void IMUL (R16Type target, WordMemory source, UInt16 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 [] { "o16", "69", "/r", "iw" }));
}
示例13: FSTSW
/// <summary>
/// FSTSW mem16
/// </summary>
public void FSTSW (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FSTSW", target.ToString (), target, null, null, null, new string [] { "9B", "DD", "/7" }));
}
示例14: XOR
/// <summary>
/// XOR mem16,reg16
/// </summary>
public void XOR (WordMemory target, R16Type source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), target, null, source, null, new string [] { "o16", "31", "/r" }));
}
示例15: SHR__CL
/// <summary>
/// SHR mem16,CL
/// </summary>
public void SHR__CL (WordMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__CL", target.ToString () + ", " + "CL", target, null, null, null, new string [] { "o16", "D3", "/5" }));
}