10. Assembly 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).
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.
3
Q
STR
A
Stores the value referred to the first operand onto the second operand’s memory location.
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.