public void JPO_NEAR_imm () { // JPO 0xda4771c // JPO (0xda4771c) MemoryStream memoryStream = new MemoryStream (); Assembly asm = new Assembly (); asm.JPO (0xda4771c); asm.Encode (memoryStream); byte [] target = new byte [] { 0xf, 0x8b, 0x16, 0x77, 0xa4, 0xd }; Assert.IsTrue (CompareData (memoryStream, target), "'JPO 0xda4771c' failed."); }
public void JPO_imm8 () { // JPO_imm8: JPO SHORT JPO_imm8 // JPO (0x00) MemoryStream memoryStream = new MemoryStream (); Assembly asm = new Assembly (); asm.JPO (0x00); asm.Encode (memoryStream); byte [] target = new byte [] { 0x7b, 0xfe }; Assert.IsTrue (CompareData (memoryStream, target), "'JPO_imm8: JPO SHORT JPO_imm8' failed."); }