ARMv8-A Architecture Flashcards

1
Q

The ARMv8-A architecture is?

A

Is a RISC
Is a Load/Store machine
• Register file contains 31 64-bit-wide registers
• Most instructions manipulate 64-bit or 32-bit data stored in these registers
Uses a von Neumann architecture for RAM

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

What are the 4 exception levels of the ARMv8-A architecture?

A

EL0: for normal user applications with limited privileges
EL1: for the OS kernel
EL2: for a Hypervisor
EL3: Low-level firmware

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

How many general purpose registers does AArch64 have?

A

31, numbered 0 to 30

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

Registers x0-x7 are used for?

A

Passing arguments into a procedure and returning results

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

Register x8 is a?

A

Indirect result location register

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

Registers x9-x15 are?

A

Temporary registers (caller saved)

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

Registers x16, x17 are?

A

Intra-procedure-call temporary registers (IP0, IP1)

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

Register x18 is a?

A

Platform register

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

Registers x19-x28 are?

A

Callee-Saved registers. Values are preserved by any function called

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

Register x29 is the?

A

Frame Pointer Register

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

Register x30 is the?

A

Procedure Link Register

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

The stack pointer register is?

A

Used to point to the top of the run-time stack (SP)

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

The zero register is?

A

A register that always gives 0 when read from and discards any value written to it (X/WZR)

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

The program counter register does what?

A

Holds the address of the currently executing instruction and cannot be accessed directly as a named register

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