From 7754ef7204e873aa33d55ebe5002257e3941e942 Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Sun, 22 Dec 2024 20:12:21 +0100 Subject: Import bk_ble from elektroda forum https://www.elektroda.com/rtvforum/topic3989434.html\#20742145 --- usr/ble_tst/src/is_arm_test.S | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 usr/ble_tst/src/is_arm_test.S (limited to 'usr/ble_tst/src/is_arm_test.S') 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*/ -- cgit v1.2.3