JO() public method

JO imm8
public JO ( Byte target ) : void
target Byte
return void
Example #1
0
	public void JO_NEAR_imm ()
	{
		// JO 0xa101973
		// JO (0xa101973)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JO (0xa101973);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0xf, 0x80, 0x6d, 0x19, 0x10, 0xa };
		Assert.IsTrue (CompareData (memoryStream, target), "'JO 0xa101973' failed.");
	}
Example #2
0
	public void JO_imm8 ()
	{
		// JO_imm8: JO SHORT JO_imm8
		// JO (0x00)
		MemoryStream memoryStream = new MemoryStream ();
		Assembly asm = new Assembly ();
		asm.JO (0x00);
		asm.Encode (memoryStream);
		byte [] target = new byte [] { 0x70, 0xfe };
		Assert.IsTrue (CompareData (memoryStream, target), "'JO_imm8: JO SHORT JO_imm8' failed.");
	}