ARM assembly language Flashcards
general rule for ARM
operation, result, 1st operand, 2nd operand
what are the places we store values called
registers
to add registers use the function
ADD
to move registers use the function
MOV
which coding language is as close as possible to machine code while still readable by humans
assembly language
how does programming code like c, java get to being machine code
translation
what is an operator
the instruction
what is an operand
values
what program translates from assembly language into machine code
assembler program
what type of relationship is there between machine code and assembly language
1-1 ie, in java, many operations can lead to 1 machine code instruction where as assembly language is more 1-1
how to assign an immediate value to a register
MOV R3, #0
operator for multiplication
MUL
operator for load register
LDR
Why is it better to use load register than an immediate value
larger values can be assigned using ldr
what will happen if the value you used in immediate value and MOV is too big
an error message