diff options
author | Karl Palsson <karlp@tweak.net.au> | 2019-01-11 22:50:05 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2019-01-11 22:50:05 +0000 |
commit | e392dd5c4194543ab637bff72754a2669d3aac43 (patch) | |
tree | 302f4f9df33de136ed133ec874c7c1d42368915c /my-project/my-project.c | |
parent | 550c702cdbb9f7148376f3c3342f7fcc826eac6e (diff) | |
download | stm32f103c8-examples-e392dd5c4194543ab637bff72754a2669d3aac43.tar stm32f103c8-examples-e392dd5c4194543ab637bff72754a2669d3aac43.tar.zst stm32f103c8-examples-e392dd5c4194543ab637bff72754a2669d3aac43.zip |
Demonstrate assembly source files
Diffstat (limited to 'my-project/my-project.c')
-rw-r--r-- | my-project/my-project.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/my-project/my-project.c b/my-project/my-project.c index f550c66..7f5bc79 100644 --- a/my-project/my-project.c +++ b/my-project/my-project.c @@ -1,6 +1,9 @@ #include "api.h" +#include "api-asm.h" int main(void) { /* add your own code */ - return my_func(3); + uint32_t rev = 0xaabbccdd; + rev = rev_bytes(rev); + return my_func(rev); } |