Hind Forsum Hind Forsum - 1 year ago 150
Linux Question

What is JCC instruction in assembly language(intel AT&T)

When studying intel assembly language, I only know instructions like je, jnl, etc, but what does jcc actually mean? All jump instructions?

Answer Source

cc stands for condition code.

Jcc is not a single instruction, it just describes the jump mnemonics that check the condition code before jumping.

JNE for instance, checks the condition code before jumping.

The typical case is to do a comparison (which sets the CC) and then use one of the jump mnemonics afterwards.

The condition code can also be set with instructions like AND, OR, XOR, addition, subtraction (or CMP, of course).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download