General Purpose Registers Flashcards

1
Q

RAX

A

Accumulator register. Often used to store return value

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

RBX

A

Base register. Sometimes used as a base pointer for memory access

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

RDX

A

Data register

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

RCX

A

Counter register. Used as a loop counter

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

RSI

A

Source index. Used as source pointer for string operations

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

RDI

A

destination index. Used as destination pointer in string operations

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

RSP

A

Stack pointer. Holds address of the top of the stack

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

RBP

A

Base pointer. Holds the address of the base/bottom of the stack

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

RIP

A

Instruction pointer. Holds address of next line of code to be executed. Read-only (kind of)

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