JE() public method

JE imm8
public JE ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JE_NEAR_imm ()
	{
		// JE 0xa1f593f
		// JE (0xa1f593f)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JE (0xa1f593f);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x84, 0x39, 0x59, 0x1f, 0xa };
		Assert.IsTrue (CompareData (memoryStream, target), "'JE 0xa1f593f' failed.");
	}
Esempio n. 2
0
	public void JE_imm8 ()
	{
		// JE_imm8: JE SHORT JE_imm8
		// JE (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JE (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x74, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JE_imm8: JE SHORT JE_imm8' failed.");
	}