x86
Notes on the x86 architecture gathered while reading Practical Reverse Engineering (see also Reverse Engineering).
General-purpose registers
-
EAX: Accumulator for operands and results data.
-
EBX: Pointer to data in the DS segment.
-
ECX: Counter for string and loop operations.
-
EDX: I/O pointer.
-
ESI: Pointer to data in the segment pointed to by the DS register; source pointer for string operations.
-
EDI: Pointer to data (or destination) in the segment pointed to by the ES register; destination pointer for string operations.
-
ESP: Stack pointer (in the SS segment).
-
EBP: Pointer to data on the stack (in the SS segment).