X86 Assembly Cheat Sheet



X8664 NASM Assembly Quick Reference ('Cheat Sheet') Here's the full list of ordinary integer x86 registers. The 64 bit registers are shown in red. The cheat sheet is intended for 32-bit Windows programming with FASM. One A4 page contains almost all general-purpose x86 instructions (except FPU, MMX and SSE instructions). Note: NASM, the Netwide Assembler, is a 80 x86 and x86-64 platform based on the assembly language compiler, designed to achieve the compiler program cross-platform and modular features. Nasm -f bin -o payload.bin payload.asm nasm -f elf payload.asm; ld -o payload payload.o; objdump -d payload.

Jumps

0F82||72jb, jump if below0F83||73jnb, jump if not below0F84||74je, jump if equal0F85||75jne, jump if not equal0F86||76jbe, jump if below or equal0F87||77ja, jump if above0F83jae, jump if above or equal0F86jna, jump if not above0F82jnae, jump if not above or equal0F87jnbe, jump if not below or equal0F8Fjg, jump if greater0F8Ejng, jump if not greater0F8Djge, jump if greater or equal0F8Cjnge, jump if not greater or equal0F8Cjl, jump if less0F8Djnl, jump if not less0F8Ejle, jump if less or equal0F8Fjnle, jump if not less or equal

Intel X86 Assembly Cheat Sheet

EB

Intel X86 Assembly Cheat Sheet

X86 Assembly Cheat Sheetjmp direcly to

Tests

84Test

X86 Asm Cheat Sheet

Others

90nop, no operation