SETNAE() public method

SETNAE mem8
public SETNAE ( ByteMemory target ) : void
target ByteMemory
return void
Esempio n. 1
0
	public void SETNAE_rmreg8 ()
	{
		// SETNAE CH
		// SETNAE (R8.CH)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETNAE (R8.CH);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x92, 0xc5 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETNAE CH' failed.");
	}
Esempio n. 2
0
	public void SETNAE_mem8 ()
	{
		// SETNAE Byte [GS:EDX*8]
		// SETNAE (new ByteMemory(Seg.GS, null, R32.EDX, 3))
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETNAE (new ByteMemory (Seg.GS, null, R32.EDX, 3));
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x65, 0xf, 0x92, 0x4, 0xd5, 0x0, 0x0, 0x0, 0x0 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETNAE Byte [GS:EDX*8]' failed.");
	}