x86 asm: move jcc from x86-assembly-cheat

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-15 00:00:00 +00:00
parent 647eacf13a
commit 58418b2a8d
2 changed files with 87 additions and 0 deletions

View File

@@ -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: