10. Assembly Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

MOV

A

The MOV instruction copies the data item referred to by its second operand (register contents, memory contents, or a constant value) into the location referred to by its first operand (a register or memory).

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

LDR

A

LDR copies the expression or label-expression referred in the second operand into the memory location referred by its first operand.

It can pass either a value or a memory address or a value indicated in memory address.

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

STR

A

Stores the value referred to the first operand onto the second operand’s memory location.

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

Give two limitations of using assembly language to code a program.

A
  • It’s much slower to code in assembly than a HLL. For example, a one line function in HLL is equivalent to multiple in assembly.
  • Very easy to make mistakes and can be rather difficult to find the errors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly