Linking H8s/2144 assembly code using HEW

Nov 12, 2004 1 Replies

I need to call a C++ function from assembly code using the Renesas HEW development system.



The C++ function is "void flash_start(void)". In assembly I define it as .GLOBAL _flash_start



The linker error message is - Undefined external symbol "_flash_start".......



I also tried it without the leading underscore. Name mangling problem maybe??



TIA Arthur


Yes. Just declare it as:

extern "C" void flash_start(void)

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required