JNL() public method

JNL imm8
public JNL ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JNL_NEAR_imm ()
	{
		// JNL 0x62a9dec
		// JNL (0x62a9dec)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNL (0x62a9dec);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x8d, 0xe6, 0x9d, 0x2a, 0x6 };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNL 0x62a9dec' failed.");
	}
Esempio n. 2
0
	public void JNL_imm8 ()
	{
		// JNL_imm8: JNL SHORT JNL_imm8
		// JNL (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNL (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x7d, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNL_imm8: JNL SHORT JNL_imm8' failed.");
	}