8 - More registers Flashcards Preview

103: Computer Systems > 8 - More registers > Flashcards

Flashcards in 8 - More registers Deck (7)
Loading flashcards...
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

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]

3
Q

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

A

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

4
Q

What does ECX stand for and what does it do?

A

Extended Counter Register.

Used as a counter in loops mostly.

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

6
Q

EBP?

A

Stack Base pointer

7
Q

ESP ?

A

Stack pointer