本文整理汇总了C#中SharpOS.AOT.X86.Assembly.CMOVNGE方法的典型用法代码示例。如果您正苦于以下问题:C# Assembly.CMOVNGE方法的具体用法?C# Assembly.CMOVNGE怎么用?C# Assembly.CMOVNGE使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SharpOS.AOT.X86.Assembly
的用法示例。
在下文中一共展示了Assembly.CMOVNGE方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CMOVNGE_reg32_rmreg32
public void CMOVNGE_reg32_rmreg32 ()
{
// CMOVNGE EDX, ECX
// CMOVNGE (R32.EDX, R32.ECX)
MemoryStream memoryStream = new MemoryStream ();
Assembly asm = new Assembly ();
asm.CMOVNGE (R32.EDX, R32.ECX);
asm.Encode (memoryStream);
byte [] target = new byte [] { 0xf, 0x4c, 0xd1 };
Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNGE EDX, ECX' failed.");
}
示例2: CMOVNGE_reg32_mem32
public void CMOVNGE_reg32_mem32 ()
{
// CMOVNGE EDI, [ESP]
// CMOVNGE (R32.EDI, new DWordMemory(null, R32.ESP, null, 0))
MemoryStream memoryStream = new MemoryStream ();
Assembly asm = new Assembly ();
asm.CMOVNGE (R32.EDI, new DWordMemory (null, R32.ESP, null, 0));
asm.Encode (memoryStream);
byte [] target = new byte [] { 0xf, 0x4c, 0x3c, 0x24 };
Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNGE EDI, [ESP]' failed.");
}
示例3: CMOVNGE_reg16_rmreg16
public void CMOVNGE_reg16_rmreg16 ()
{
// CMOVNGE BP, SP
// CMOVNGE (R16.BP, R16.SP)
MemoryStream memoryStream = new MemoryStream ();
Assembly asm = new Assembly ();
asm.CMOVNGE (R16.BP, R16.SP);
asm.Encode (memoryStream);
byte [] target = new byte [] { 0x66, 0xf, 0x4c, 0xec };
Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNGE BP, SP' failed.");
}
示例4: CMOVNGE_reg16_mem16
public void CMOVNGE_reg16_mem16 ()
{
// CMOVNGE SI, [FS:EBP*2]
// CMOVNGE (R16.SI, new WordMemory(Seg.FS, null, R32.EBP, 1))
MemoryStream memoryStream = new MemoryStream ();
Assembly asm = new Assembly ();
asm.CMOVNGE (R16.SI, new WordMemory (Seg.FS, null, R32.EBP, 1));
asm.Encode (memoryStream);
byte [] target = new byte [] { 0x64, 0x66, 0xf, 0x4c, 0x74, 0x2d, 0x0 };
Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNGE SI, [FS:EBP*2]' failed.");
}