JB() public method

JB imm8
public JB ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JB_NEAR_imm ()
	{
		// JB 0x33b8cd5
		// JB (0x33b8cd5)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JB (0x33b8cd5);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x82, 0xcf, 0x8c, 0x3b, 0x3 };
		Assert.IsTrue (CompareData (memoryStream, target), "'JB 0x33b8cd5' failed.");
	}
Esempio n. 2
0
	public void JB_imm8 ()
	{
		// JB_imm8: JB SHORT JB_imm8
		// JB (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JB (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x72, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JB_imm8: JB SHORT JB_imm8' failed.");
	}