ISA Flashcards

1
Q

What is architecture?

A

programmer’s view of the computer. Defined by instruction set and operand locations

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

Instruction

A

words in a computer language. Carried out on operands.

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

Instruction set

A

computers vocabulary

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

What does a compiler do?

A

convert high level language to machine language

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

What is assembly language?

A

human-readable representation of the computer’s native language

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

Give three examples of physical locations of operands in a computer

A

Registers, constants/immediates, memory

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

How many registers does ARM have? How many bits in each register?

A

16 registers, 32 bits

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

What are the uses for R14 and R15 respectively?

A

Link register, PC

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

What is the base address?

A

address of first element

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

What is the job of the function caller?

A

Passes arguments to callee, jumps to callee

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

What is the job of the function callee?

A

Performs the function, returns result to caller, returns to point of call. Must not overwrite registers or memory needed by caller

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

What are the three instruction formats for machine instructions?

A

Data-processing, memory, branch

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

For branch instructions? what is the branch target address?

A

The next PC when branch taken, it is relative to current PC+8. imm24 is the number of words BTA is away from PC+8.

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