JNB() public method

JNB imm8
public JNB ( Byte target ) : void
target Byte
return void
Esempio n. 1
0
	public void JNB_NEAR_imm ()
	{
		// JNB 0xdcb7338
		// JNB (0xdcb7338)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNB (0xdcb7338);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x83, 0x32, 0x73, 0xcb, 0xd };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNB 0xdcb7338' failed.");
	}
Esempio n. 2
0
	public void JNB_imm8 ()
	{
		// JNB_imm8: JNB SHORT JNB_imm8
		// JNB (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JNB (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x73, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JNB_imm8: JNB SHORT JNB_imm8' failed.");
	}