public void JLE_NEAR_imm () { // JLE 0xcc0fe17 // JLE (0xcc0fe17) MemoryStream memoryStream = new MemoryStream (); Assembly asm = new Assembly (); asm.JLE (0xcc0fe17); asm.Encode (memoryStream); byte [] target = new byte [] { 0xf, 0x8e, 0x11, 0xfe, 0xc0, 0xc }; Assert.IsTrue (CompareData (memoryStream, target), "'JLE 0xcc0fe17' failed."); }
public void JLE_imm8 () { // JLE_imm8: JLE SHORT JLE_imm8 // JLE (0x00) MemoryStream memoryStream = new MemoryStream (); Assembly asm = new Assembly (); asm.JLE (0x00); asm.Encode (memoryStream); byte [] target = new byte [] { 0x7e, 0xfe }; Assert.IsTrue (CompareData (memoryStream, target), "'JLE_imm8: JLE SHORT JLE_imm8' failed."); }