8 - More registers Flashcards

(7 cards)

1
Q

What does EAX stand for and how many bits does it contain?

A

Extended Accumulator Register and 32 bits (from 0 to 31).

Used as a general-purpose data register during both artithmetic and logical operations.

Eg: MOV EAX, 123 or INC EAX

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

What does EBX stand for and what does it do?

A

Extended Base Register.

Holds addresses to point to the base of data structures, such as arrays in memory.

Eg: MOV AL, [EBX]

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

What does using brackets do ? ie: [EBX] instead of EBX

A

It gets the value at that memory instead of the address.

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

What does ECX stand for and what does it do?

A

Extended Counter Register.

Used as a counter in loops mostly.

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

What does EIP stand for and what does it do?

A

Extended Instruction Pointer.

Holds the address of the next instruction.

Eg: JMP mylabel // forces a new address into the EIP

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

EBP?

A

Stack Base pointer

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

ESP ?

A

Stack pointer

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