This is a simple example of assembly-language programming inside of an MBED program. It is just a blink program with two functions: setup() and loop().

Dependencies:   mbed

Revision:
0:5446675502f2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Apr 22 15:14:54 2020 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+
+extern "C" void setup(void);
+extern "C" void loop(void);
+
+int main() {
+    setup();
+    loop();
+}
\ No newline at end of file