JNC() public method

JNC imm8
public JNC ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JNC_NEAR_imm ()
	{
		// JNC 0x36f63c8
		// JNC (0x36f63c8)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNC (0x36f63c8);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x83, 0xc2, 0x63, 0x6f, 0x3 };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNC 0x36f63c8' failed.");
	}
Esempio n. 2
0
	public void JNC_imm8 ()
	{
		// JNC_imm8: JNC SHORT JNC_imm8
		// JNC (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNC (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x73, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNC_imm8: JNC SHORT JNC_imm8' failed.");
	}