This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembler and '__main' symbol

Hi,

I started reading the Keil ARMASM documentation and would like to create a minimal assembler program.

As I understood, the assembler itself expects a '__Vectors' and a 'Reset_Handler' label which are resolved by adding the startup file to the project.

But it still complains about missing a startup symbol '__main'.

If I add a 'main' or '_main' or '__main' label my assembler is not satisfied.

What do I mis or where can I find information how to solve this?

Thanks in advance,

Henk

Parents Reply Children