3.7.3.5 Machine-Code/Assembly Language Operations. Flashcards
Outline the AQA assembly language for LOAD.
LDR Rx,
Describe LOAD.
Load the value stored in the
memory location specified by into
register x.
Outline the AQA assembly language for STORE.
STR Rx,
Describe STORE.
Store the value that is in register x into the memory location specified by .
Outline the AQA assembly language for ADD.
ADD Rx, Ry,
Describe ADD.
Add the value specified by
to register y and
store the result in register x.
Outline the AQA assembly language for SUBTRACT.
SUB Rx, Ry,
Describe SUBTRACT.
Subtract the value specified by from the value in register y and store the result in register x.
Outline the AQA assembly language for MOVE.
MOV Rx,
Describe MOVE.
Copy the value specified by
into register x.
Outline the AQA assembly language for COMPARE.
CMP Rx,
Describe COMPARE.
Compare the value stored in register x with the value specified by .
Outline the AQA assembly language for BRANCH(unconditional).
B
Describe BRANCH (unconditional) .
Always branch to the instruction at the position specified by
in the program.
Outline the AQA assembly language for BRANCH (conditional).
B