JBE() public method

JBE imm8
public JBE ( Byte target ) : void
target Byte
return void
Example #1
0
	public void JBE_NEAR_imm ()
	{
		// JBE 0xccd34a0
		// JBE (0xccd34a0)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JBE (0xccd34a0);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x86, 0x9a, 0x34, 0xcd, 0xc };
		Assert.IsTrue (CompareData (memoryStream, target), "'JBE 0xccd34a0' failed.");
	}
Example #2
0
	public void JBE_imm8 ()
	{
		// JBE_imm8: JBE SHORT JBE_imm8
		// JBE (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JBE (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x76, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JBE_imm8: JBE SHORT JBE_imm8' failed.");
	}