diff options
| author | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2024-12-22 20:12:21 +0100 |
|---|---|---|
| committer | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2024-12-22 20:12:21 +0100 |
| commit | 7754ef7204e873aa33d55ebe5002257e3941e942 (patch) | |
| tree | 873dc17f83c61f56e452330c2d1d2d0343305f67 /usr/ble_tst/src/is_arm_test.S | |
| download | wb3s-ble-nebula-galaxy-7754ef7204e873aa33d55ebe5002257e3941e942.tar.gz wb3s-ble-nebula-galaxy-7754ef7204e873aa33d55ebe5002257e3941e942.zip | |
Import bk_ble from elektroda forum
https://www.elektroda.com/rtvforum/topic3989434.html\#20742145
Diffstat (limited to 'usr/ble_tst/src/is_arm_test.S')
| -rw-r--r-- | usr/ble_tst/src/is_arm_test.S | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usr/ble_tst/src/is_arm_test.S b/usr/ble_tst/src/is_arm_test.S new file mode 100644 index 0000000..fabc72c --- /dev/null +++ b/usr/ble_tst/src/is_arm_test.S @@ -0,0 +1,31 @@ +/*60:*/ +#line 1367 "/home/nemo/projects/bk_ble/cweb/notes.x" + +/*59:*/ +#line 1344 "/home/nemo/projects/bk_ble/cweb/notes.x" + + + +.code 32 +.globl is_arm +.type is_arm, %function + + + + + +is_arm: + push {r1, lr} + mov r0, pc + mov r1, pc + sub r0, r1, r0 + sub r0, #2 + pop {r1, pc} + + + +/*:59*/ +#line 1368 "/home/nemo/projects/bk_ble/cweb/notes.x" + + +/*:60*/ |
