ARM assembly language Flashcards

1
Q

What is the purpose of a linker?

A

Loads the built-in library’s functions into the object code

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

What is the purpose of a loader?

A

Loads completed object code into rapid access memory (RAM)

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

Name 4 types of assembly language:

A
  1. Intelx86 assembly
  2. ARM assembly (embedded)
  3. MIPS assembly (embedded)
  4. PowerPC assembly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is Intelx86 using CISC or RISC?

A

CICS since x86 is for general purpose computing, not embedded systems

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

Is ARM using CISC or RISC?

A

RISC

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

What are the four status bits in the Current Program Status Register (CPSR)?

A

Negative(N)
Zero(Z)
Carry(C)
Overflow(V)

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

What is endianness?

A

Order/sequence of bytes of data in computer memory

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

What is the difference between little-endian and big-endian?

A

Big endian stores most significant byte in smallest memory address.

Little endian stores most significant byte in largest memory address.

Little endian tends to be used more for Intel and ARM

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

What is the purpose of a compiler?

A

Converts high-level programming language into assembly language

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

What is the purpose of a assembler?

A

Converts assembly language into object code

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