Registers Flashcards

(9 cards)

1
Q

ARM has sixteen registers visible at any one time. They are named R0 to R15. All are 32 bits wide.

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

The registers may also be referred to by the following aliases:

A

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

All of the registers are general purpose, save for:

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

All of the registers are general purpose, save for:
R14 / LR

A

the link register which holds the callers’s return address.

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

All of the registers are general purpose, save for:
R15 / PC

A

which holds the program counter.

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

In addition to the main registers there is also a status register:

A

CPSR is the current program status register. This holds flags: results of arithmetic and logical operations.

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

Strictly R13 is used for the ____ _______ by convention, rather than a rule, in ARM mode. In Thumb mode it is more hardwired.

A

Strictly R13 is used for the stack pointer by convention, rather than a rule, in ARM mode. In Thumb mode it is more hardwired.

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

ARM is a load-store architecture:

A
  • You must load values into registers in order to operate upon them.
  • No instructions directly operate on values in memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly