Registers Flashcards

1
Q

What is EIP?

A

Instruction Pointer

Holds the memory address of the next instruction to be executed by the CPU. Maintains correct sequence of instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is EAX?

A

Accumulator

Used for arithmetic, and logical operations. Stores function return return values, passing arguments to system calls, and manipulating CPU features.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is EBX?

A

Data Index

Stores variables, accesses arrays, and passes function arguments. Versatile storage location for data and memory addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is ECX?

A

Loop Counter

Utilised for loop control and counting operations. Iterates through data structures and controls repetitive tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is EDX?

A

Data Register

Used for input/output operations, storing data offsets, holds high-order bits for multiplication/division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is ESP?

A

Stack Pointer

Keeps track of the top of the stack. Manages function calls, local variables, and other stack-related operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is EBP?

A

Base Pointer

Facilitates efficient stack frame navigation during program execution. Establishes a fixed reference point within the stack frame of a function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is ESI?

A

Source Index

During data transfer operations the source data is held here. Used for string manipulation, data copying and memory operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is EDI?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly