JNG() public method

JNG imm8
public JNG ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JNG_NEAR_imm ()
	{
		// JNG 0xef38105
		// JNG (0xef38105)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNG (0xef38105);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x8e, 0xff, 0x80, 0xf3, 0xe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNG 0xef38105' failed.");
	}
Esempio n. 2
0
	public void JNG_imm8 ()
	{
		// JNG_imm8: JNG SHORT JNG_imm8
		// JNG (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNG (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x7e, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNG_imm8: JNG SHORT JNG_imm8' failed.");
	}