JNE() public method

JNE imm8
public JNE ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JNE_NEAR_imm ()
	{
		// JNE 0xbcc2f28
		// JNE (0xbcc2f28)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNE (0xbcc2f28);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x85, 0x22, 0x2f, 0xcc, 0xb };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNE 0xbcc2f28' failed.");
	}
Esempio n. 2
0
	public void JNE_imm8 ()
	{
		// JNE_imm8: JNE SHORT JNE_imm8
		// JNE (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNE (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x75, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNE_imm8: JNE SHORT JNE_imm8' failed.");
	}