Download v1.1 ARM Tools Reference

Transcript
Assembly Language
NOP Thumb generic
No operation.
Instruction
Replacement
NOP
MOV R8,R8
MOV low−to−low Thumb generic
The hardware MOV instruction only supports moves between two high registers (r8−r15) or between a
high register and a low register (r0−r7). The MOV pseudo−instruction supports a move between two
low registers.
Instruction
Replacement
Description
MOV Rd,Rn
ADD Rd,Rn,#0
If both registers are low
Bcond inversion Thumb generic
The PC−relative conditional branch instruction has a range of (−256,+255) bytes. The unconditional
version has a range of (−2048,+2047) bytes. If the conditional branch target is out−of−range, the
assembler will rewrite the conditional branch instruction with an inversed conditional branch and an
unconditional branch.
Instruction
Replacement
Bcond label
Binv_cond ~1
B label
Description
If target label out−of−range
~1:
3−49