Assembly language Programming Flashcards

(11 cards)

1
Q

What is assembly language?

A

A low level language which uses mnemonics and is processor specific

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

What are the two type of instructions sets of assembly language?

A

-RISC (Reduced Instruction Set Computer)
-CISC (Complex instruction Set Computer

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

What are characteristics of RISC?

A

-Uses simple instructions
-Simpler circuit so more room for registers and cache
-Each instruction is excecute in one cycle
-Low energy requirements

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

What are some characteristics of CISC?

A

-Complete task in as few lines of assembly language as possible
-More complicated circuitry, more expensive as physically larger
-Might take more than 1clock cycle
-Perfect for Laptops and Desktops
-Makes efficient use of RAM

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

What is Immediate Addressing?

A

The data used it hardcoded into the instruction itself e.g ADD #7

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

What is Direct Addressing?

A

The operand of an instruction refers directly to a location in memory.

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

What does an instruction consist of?

A

-Opcode
-Operand

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

What is an Opcode?

A

The operation to be carried out(what we need to do)

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

What is an Operand?

A

What we need to do it to e.g data or address

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

What does the command LDR do?

A

Load the value stored in memory location into register specified

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

What does the command STR do?

A

Stores the value in register into memory location specified

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