ARMv8-A Architecture Flashcards

1
Q

is ARM a RISC or CISC machine

A

Advanced RISC Machine

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

Does ARM use a von Neumann or Harvard architecture?

A

Von Neumann.(RAM contains both data and programs)

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

What is the use of registers x0-x7?

A

Used to pass arguments into a procedure and return results

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

Callee-saved registers

A

Registers where the value is preserved by any function call

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

Purpose of the Stack Pointer

A

Used to point to the top of the runtime stack

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

Purpose of the Program Counter

A

Holds the address of the currently executing instruction

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

mov x29, sp is an alias for…

A

add x29, sp, 0

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

mov Wd, Wn is an alias for…

A

orr Wd, wzr, Wn

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

stp x29, x30

A

Stores the contents of the pair of registers to the stack

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

mov x29, sp

A

Updates the FP to the current SP

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

ldp x29, x30

A

Restores the state of the FP and LR registers

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

Calculation of
madd x19, x20, x21, x22

A

x19 = x22+(x20 X x21)

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

Z flag returns true when…

A

result is zero

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

N flag returns true when…

A

result is negative

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

V flag returns true when…

A

result overflows

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

C flag returns true when…

A

Result generates a carry out

17
Q

What is EL0?

A

Exception level for normal user applications with limited priveleges

18
Q

What is EL1?

A

Exception level for the OS kernel. Accessed indirectly using system calls.

19
Q

What is EL2?

A

Exception level for a hypervisor. Supports virtualization.

20
Q

What is EL3?

A

Exception level for low level firmware. Includes the Secure Monitor