SETAE() public method

SETAE mem8
public SETAE ( ByteMemory target ) : void
target ByteMemory
return void
Esempio n. 1
0
	public void SETAE_rmreg8 ()
	{
		// SETAE BL
		// SETAE (R8.BL)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETAE (R8.BL);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x93, 0xc3 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETAE BL' failed.");
	}
Esempio n. 2
0
	public void SETAE_mem8 ()
	{
		// SETAE Byte [DS:ECX + EAX*4]
		// SETAE (new ByteMemory(Seg.DS, R32.ECX, R32.EAX, 2))
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.SETAE (new ByteMemory (Seg.DS, R32.ECX, R32.EAX, 2));
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x3e, 0xf, 0x93, 0x4, 0x81 };
		Assert.IsTrue (CompareData (memoryStream, target), "'SETAE Byte [DS:ECX + EAX*4]' failed.");
	}