SETNL() public method

SETNL mem8
public SETNL ( ByteMemory target ) : void
target ByteMemory
return void
Esempio n. 1
0
	public void SETNL_rmreg8 ()
	{
		// SETNL BH
		// SETNL (R8.BH)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETNL (R8.BH);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x9d, 0xc7 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETNL BH' failed.");
	}
Esempio n. 2
0
	public void SETNL_mem8 ()
	{
		// SETNL Byte [ESI*4]
		// SETNL (new ByteMemory(null, null, R32.ESI, 2))
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETNL (new ByteMemory (null, null, R32.ESI, 2));
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x9d, 0x4, 0xb5, 0x0, 0x0, 0x0, 0x0 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETNL Byte [ESI*4]' failed.");
	}