CMOVNB() public method

CMOVNB reg16,rmreg16
public CMOVNB ( R16Type target, R16Type source ) : void
target R16Type
source R16Type
return void
Esempio n. 1
0
	public void CMOVNB_reg32_mem32 ()
	{
		// CMOVNB EAX, [CS:EBX]
		// CMOVNB (R32.EAX, new DWordMemory(Seg.CS, R32.EBX, null, 0))
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.CMOVNB (R32.EAX, new DWordMemory (Seg.CS, R32.EBX, null, 0));
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x2e, 0xf, 0x43, 0x3 };
		Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNB EAX, [CS:EBX]' failed.");
	}
Esempio n. 2
0
	public void CMOVNB_reg32_rmreg32 ()
	{
		// CMOVNB EDX, ECX
		// CMOVNB (R32.EDX, R32.ECX)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.CMOVNB (R32.EDX, R32.ECX);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x43, 0xd1 };
		Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNB EDX, ECX' failed.");
	}
Esempio n. 3
0
	public void CMOVNB_reg16_mem16 ()
	{
		// CMOVNB BX, [EDX*1]
		// CMOVNB (R16.BX, new WordMemory(null, null, R32.EDX, 0))
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.CMOVNB (R16.BX, new WordMemory (null, null, R32.EDX, 0));
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x66, 0xf, 0x43, 0x1a };
		Assert.IsTrue (CompareData (memoryStream, target), "'CMOVNB BX, [EDX*1]' failed.");
	}