.text
.thumb
.global foo
-foo:
+foo:
+ .align 4
@ Section A6.1.3 "Use of 0b1101 as a register specifier".
@ R13 as the source or destination register of a mov instruction.
ldr sp, [sp]
ldr pc, [sp]
ldr sp, [pc]
-ldr sp, [r0, +pc]
str r0, [sp]
-str r0, [pc]
-str pc, [r0]
str sp, [r0]
-str pc, [pc]
str sp, [sp]
-str pc, [sp]
-str sp, [pc]
-str sp, [r0, +pc]
@ R13 as the first operand <Rn> in any add{s}, cmn, cmp, or sub{s} instruction.