本文整理匯總了C#中SharpOS.AOT.X86.ByteMemory.ToString方法的典型用法代碼示例。如果您正苦於以下問題:C# ByteMemory.ToString方法的具體用法?C# ByteMemory.ToString怎麽用?C# ByteMemory.ToString使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類SharpOS.AOT.X86.ByteMemory
的用法示例。
在下文中一共展示了ByteMemory.ToString方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: XOR
/// <summary>
/// XOR mem8,imm8
/// </summary>
public void XOR (ByteMemory target, Byte source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "80", "/6", "ib" }));
}
示例2: ADC
/// <summary>
/// ADC reg8,mem8
/// </summary>
public void ADC (R8Type target, ByteMemory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "ADC", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "12", "/r" }));
}
示例3: SHR
/// <summary>
/// SHR mem8,imm8
/// </summary>
public void SHR (ByteMemory target, Byte source)
{
if (source == 1)
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__1", target.ToString () + ", " + "1", target, null, null, null, new string [] { "D0", "/5" }));
else {
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "C0", "/5", "ib" }));
}
}
示例4: SHR__CL
/// <summary>
/// SHR mem8,CL
/// </summary>
public void SHR__CL (ByteMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__CL", target.ToString () + ", " + "CL", target, null, null, null, new string [] { "D2", "/5" }));
}
示例5: SETZ
/// <summary>
/// SETZ mem8
/// </summary>
public void SETZ (ByteMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SETZ", target.ToString (), target, null, null, null, new string [] { "0F", "94", "/0" }));
}
示例6: NOT
/// <summary>
/// NOT mem8
/// </summary>
public void NOT (ByteMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NOT", target.ToString (), target, null, null, null, new string [] { "F6", "/2" }));
}
示例7: MOVZX
/// <summary>
/// MOVZX reg32,mem8
/// </summary>
public void MOVZX (R32Type target, ByteMemory source)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOVZX", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "0F", "B6", "/r" }));
}
示例8: INC
/// <summary>
/// INC mem8
/// </summary>
public void INC (ByteMemory target)
{
this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "INC", target.ToString (), target, null, null, null, new string [] { "FE", "/0" }));
}