ARM Assembly Flashcards

(16 cards)

1
Q

How many registers exist in an ARM architecture?

A

16

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

What is the purpose of the PC register?

A

To hold the address of the next instruction

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

How are the registers numbered in an ARM architecture?

A

r0 -> r15

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

What are registers r0 -> r7?

A

Lower registers

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

What are registers r8 -> r12?

A

Higher registers

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

What is r13?

A

The stack pointer

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

What is r14?

A

The link register

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

What is r15?

A

The program counter

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

What is the purpose of the stack pointer?

A

Holds the address of the top of the stack

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

What does the stack store?

A

Local variables and function arguments

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

What does the heap store?

A

Data allocation during runtime

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

What does global data store?

A

Global variables and the BSS for uninitialised global variables

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

What does BSS store?

A

Uninitialised global variables

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

What does the text segment store?

A

Machine language programs

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

What is pipelining?

A

Exploiting parallelism in order to speed up the cycle so that multiple cycles can run at the same time

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