Difference between revisions of "Assembly Language"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "==Operands== The operand can be interpreted in two different ways, if it uses: *<nowiki>#</nowwiki> it refers to a specific value to use *Rm uses the value stored in register ...")
 
(Operands)
Line 1: Line 1:
 
==Operands==
 
==Operands==
 
The operand can be interpreted in two different ways, if it uses:
 
The operand can be interpreted in two different ways, if it uses:
*<nowiki>#</nowwiki> it refers to a specific value to use
+
*<nowiki>#</nowiki> it refers to a specific value to use
 
*Rm uses the value stored in register m
 
*Rm uses the value stored in register m
  

Revision as of 12:40, 31 December 2016

Operands

The operand can be interpreted in two different ways, if it uses:

  • # it refers to a specific value to use
  • Rm uses the value stored in register m

LDR - Load

STR - Store

ADD - Add

SUB - Subtract

MOV - Move

CMP - Compare

B - Branch

BEQ - Branch If Equal

BNE - Branch If Not Equal

BGT - Branch If Greater Than

BLT - Branch If Less Than

AND - Bitwise And

ORR - Bitwise Or

EOR - Bitwise Xor

MVN - Bitwise Not

LSL - Logical Shift Left

LSR - Logical Shift Right

HALT - Halt Program