mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
x86 asm: move jcc from x86-assembly-cheat
This commit is contained in:
25
README.adoc
25
README.adoc
@@ -12382,6 +12382,31 @@ Bibliography:
|
||||
* link:userland/arch/x86_64/jmp.S[JMP]
|
||||
** link:userland/arch/x86_64/jmp_indirect.S[JMP indirect]
|
||||
|
||||
==== x86 Jcc instructions
|
||||
|
||||
link:userland/arch/x86_64/jcc.S[Jcc]
|
||||
|
||||
Jump if certain conditions of the flags register are met.
|
||||
|
||||
Jcc includes the instructions:
|
||||
|
||||
* JZ, JNZ
|
||||
** JE, JNE: same as JZ, with two separate manual entries that say almost the same thing, lol: https://stackoverflow.com/questions/14267081/difference-between-je-jne-and-jz-jnz/14267662#14267662
|
||||
* JG: greater than, signed
|
||||
** JA: Above: greater than, unsigned
|
||||
* JL: less than, signed
|
||||
** JB below: less than, unsigned
|
||||
* JC: carry
|
||||
* JO: overflow
|
||||
* JP: parity. Why it exists: https://stackoverflow.com/questions/25707130/what-is-the-purpose-of-the-parity-flag-on-a-cpu
|
||||
* JPE: parity even
|
||||
* JPO: parity odd
|
||||
|
||||
JG vs JA and JL vs JB:
|
||||
|
||||
* https://stackoverflow.com/questions/20906639/difference-between-ja-and-jg-in-assembly
|
||||
* https://stackoverflow.com/questions/9617877/assembly-jg-jnle-jl-jnge-after-cmp
|
||||
|
||||
=== x86 SIMD
|
||||
|
||||
History:
|
||||
|
||||
Reference in New Issue
Block a user