Topic

FAQ
Login Register
div_mod.S as ram_code
Jun 10, 2019 21:53

/

A

/A
I have not been able to link the division and modulus functions that appear in div_mod.S as ram_code. When I try to do this I get errors about interworking.

I would like to do this as I am concerned about battery efficiency when these functions are stored in flash code but are regularly being used.

Does anyone know if this is possible?
2 replies
TL_bloom5 Jun 11, 2019 16:32
0
/A
hey, wecango

you can try replacing ".text" by " .section .ram_code,"ax" " before functions you wanna link in the ram code
wecango [Author] Jun 11, 2019 22:22
0
/A
This works! thank you. I was missing the "ax" directive.
Related topics
No related topics