JGE() public method

JGE imm8
public JGE ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JGE_NEAR_imm ()
	{
		// JGE 0x8fea856
		// JGE (0x8fea856)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JGE (0x8fea856);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x8d, 0x50, 0xa8, 0xfe, 0x8 };
		Assert.IsTrue (CompareData (memoryStream, target), "'JGE 0x8fea856' failed.");
	}
Esempio n. 2
0
	public void JGE_imm8 ()
	{
		// JGE_imm8: JGE SHORT JGE_imm8
		// JGE (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JGE (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x7d, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JGE_imm8: JGE SHORT JGE_imm8' failed.");
	}