Day 6 Flashcards

1
Q

Risc architecture

A

have on operation per instruction. majority of smart phones and tablets run on processors using RISC based ARM architecture

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

ARM registers

A

arranged in 2 to 16 banks of 16 registers. prevents having to save the contents of the registers when dealing with interrupts or system calls.

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

General-Purpose Registers (GPR)

A

may be directly accessed by the programmer for any purpose.

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

ARM General purpose registers

A
R0 Accumulator
R1 Base
R2 Counter
R3 Data
R4 Source
R5 Destination 
R11 Base Pointer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Segment Register

A

special purpose registers used as base locations for program instructions, data, and stack.

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

What are the Arm’s two segment registers?

A

SP (R13) Stack pointer

LR (R14) Link Register - stores the return address for subroutines

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

Control and status registers

A

special purpose registers that hold information about the most recently performed ALU operation, memory alignment, endianness, enabling and disabling of interrupts, and set processor-operating mode.

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

ARM status and control registers

A

PC (control) Program counter - pointer to next instruction in memory
CPSR (Status) Current Program Status Register- holds the condition of the program.

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

ARM modes of operation

A

dictate which instruction and architectural features are available to a process.

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

User (usr)

A

user mode is the default ARM program execution state and is used for executing most application programs.

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

System (sys)

A

Runs privileged OS tasks (routine OS business)

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

FIQ

A

used when handling high priority (fast) interrupts.

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

IRQ

A

Used when handling low priority (normal) interrupts.

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

Supervisor (svc)

A

protected mode for the OS (system calls)

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

Abort

A

used to handle memory access violations

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

Undef

A

used to handle undefined or unimplemented instructions

17
Q

Secure Monitor (mon)

A

used to transfer control from non-secure to secure and vice versa by the processor.

18
Q

ARM privilege levels

A

hardware enforced permissions to ensure system security through process isolation.
PL0 - user mode indicates an unprivileged execute security state where many features of the architecture are unavailable
PL1 - used by all other modes of operation, beside user, where system software is executed.

19
Q

ARM Instructions

A

has instructions for moving data betwen memory and the CPU, performing arithmetic functions, making boolean decisions, executing flow control, and controlling the stack

20
Q

Data movement instructions

A

used to move data from register-to-register, register-to-memory, and memory-to-register.

21
Q

Operand addressing mode

A

defines where to find the data (operand) to be manipulated by the instruction (opcode).