public static void jпе(Link index) { RegisterFlag reg = reg <RegisterFlag>("flag"); if (!reg.ZF) { ActiveCore.ActiveIndex = index.Line - 1; } }
public static void jlt(Link index) { RegisterFlag reg = reg <RegisterFlag>("flag"); if (reg.SF != reg.OF) { ActiveCore.ActiveIndex = index.Line - 1; } }
private static void _comp(int value) { RegisterFlag reg = reg <RegisterFlag>("flag"); reg.ZF = value == 0; reg.SF = value >= 0; reg.CF = false; reg.OF = false; reg.PF = value % 2 == 0; }
public static void jge(Link index) { Register32 a = reg <Register32>("a"); RegisterFlag reg = reg <RegisterFlag>("flag"); if (reg.SF == reg.OF) { ActiveCore.ActiveIndex = index.Line - 1; } }