Registers Flashcards
What is EIP?
Instruction Pointer
Holds the memory address of the next instruction to be executed by the CPU. Maintains correct sequence of instructions.
What is EAX?
Accumulator
Used for arithmetic, and logical operations. Stores function return return values, passing arguments to system calls, and manipulating CPU features.
What is EBX?
Data Index
Stores variables, accesses arrays, and passes function arguments. Versatile storage location for data and memory addresses.
What is ECX?
Loop Counter
Utilised for loop control and counting operations. Iterates through data structures and controls repetitive tasks.
What is EDX?
Data Register
Used for input/output operations, storing data offsets, holds high-order bits for multiplication/division
What is ESP?
Stack Pointer
Keeps track of the top of the stack. Manages function calls, local variables, and other stack-related operations.
What is EBP?
Base Pointer
Facilitates efficient stack frame navigation during program execution. Establishes a fixed reference point within the stack frame of a function.
What is ESI?
Source Index
During data transfer operations the source data is held here. Used for string manipulation, data copying and memory operations.
What is EDI?
Destination Index
Serves as a destination for data during transfer operations. The relationship between ESI and EDI allows efficient movement of data between memory locations.