New posts in x86

INC instruction vs ADD 1: Does it matter?

NASM Assembly convert input to integer?

What Every Programmer Should Know About Memory?

Enhanced REP MOVSB for memcpy

Test whether a register is zero with CMP reg,0 vs OR reg,reg?

Why does mulss take only 3 cycles on Haswell, different from Agner's instruction tables? (Unrolling FP loops with multiple accumulators)

Can x86's MOV really be "free"? Why can't I reproduce this at all?

How exactly do partial registers on Haswell/Skylake perform? Writing AL seems to have a false dependency on RAX, and AH is inconsistent

Why should EDX be 0 before using the DIV instruction?

Why doesn't GCC use partial registers?

Assembling 32-bit binaries on a 64-bit system (GNU toolchain)

How to get the CPU cycle count in x86_64 from C++?

When kernel stack's esp is stored to TSS for interrupt return iret?

Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly?

What's the purpose of the LEA instruction?

Referencing the contents of a memory location. (x86 addressing modes)

How do I print an integer in Assembly Level Programming without printf from the c library?

Micro fusion and addressing modes

Why is the loop instruction slow? Couldn't Intel have implemented it efficiently?

Why do x86-64 instructions on 32-bit registers zero the upper part of the full 64-bit register?