Hi, We are trying to call a 'C' function from assembly code and are not terribly successful (i.e won't assemble). Does anyone know how this is done or know of any links to example(s) of how this is done? We are using Keil RealView compiler as well as the ARMASM assembler.
Thanks in advance, Glenn
You select Generate C Compiler listing from the Flash / Configure Flash Tools / listing page of uv3 screen. (It is probably already selected) then look at the .txt file generated.
You need to use IMPORT in your assembly program, not EXPORT from C.
It is in the Docs.
Yes - functions are automatically "Public" in 'C' - so there is no way (and no need of a way) to "export" them.
The only thing you can do it to make them "Private" if you don't want them to be "Public"...
Thanks everyone.