diff options
author | 2018-05-18 19:47:53 +0200 | |
---|---|---|
committer | 2018-05-18 19:48:06 +0200 | |
commit | f04e448e35d92a446a089f2fb2b7dcbd00454306 (patch) | |
tree | 5ebac95b81adc083091c98c7dbc63af06792b693 /asm | |
parent | fce677de07af0fc11ec259e1ba2fbc2f017e6f13 (diff) | |
download | cortex-m-f04e448e35d92a446a089f2fb2b7dcbd00454306.tar.gz cortex-m-f04e448e35d92a446a089f2fb2b7dcbd00454306.tar.zst cortex-m-f04e448e35d92a446a089f2fb2b7dcbd00454306.zip |
fix asm! clobber, no inline-asm support, 4 insn per cycle
Diffstat (limited to 'asm')
-rw-r--r-- | asm/delay.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/delay.s b/asm/delay.s new file mode 100644 index 0000000..2bf92f1 --- /dev/null +++ b/asm/delay.s @@ -0,0 +1,8 @@ + .global __delay + .syntax unified + .thumb_func +__delay: + nop + subs r0, #1 + bne __delay + bx lr |