What flags do each jxx instruction use?
jz is obviously jump if the zero flag but what about ja jb etc?
Posted on 2004-02-03 07:12:56 by ENF
Intel Developers Manual Volume 2 cover this topic.
Posted on 2004-02-03 07:21:34 by Opcode
O (Overflow) OF = 1
NO (No overflow) OF = 0
C/B/NAE (Carry, Below, Not above or equal) CF = 1
NC/NB/AE (No carry, Not below, Above or equal) CF = 0
E/Z (Equal, Zero) ZF = 1
NE/NZ (Not equal, Not zero) ZF = 0
BE/NA (Below or equal, Not above) CF = 1 or ZF = 1
NBE/A (Not below or equal, Above) CF = 0 and ZF = 0
S (Sign) SF = 1
NS (Not sign) SF = 0
P/PE (Parity, Parity even) PF = 1
NP/PO (Not parity, Parity odd) PF = 0
L/NGE (Less than, Not greater than or equal to) SF <> OF
NL/GE (Not less than, Greater than or equal to) SF = OF
LE/NG (Less than or equal to, Not greater than) ZF = 1 or SF <> OF
NLE/G (Not less than or equal to, Greater than) ZF = 0 and SF = OF
Posted on 2004-02-03 07:24:05 by roticv
Google for tttn by The Svin. It very handy for determining the right jump for the flags involved.

Regards, P1 :cool:
Posted on 2004-02-03 09:16:47 by Pone