Page 1 of 1

How to add project asm files with functions

Posted: Fri Dec 13, 2019 3:15 pm
by Deouss
Let's say I want to optimize certain subprocedures in my program and want to use assembly language.
What is the best way of doing that. Is it better to create them in separate .s files or mix in C/C++ ?
Also how do I do that and what special markup or setup do I need

Thanks

Re: How to add project asm files with functions

Posted: Sat Dec 14, 2019 3:34 am
by ESP_Sprite
It depends on your purpose, that's why the options are both supported. And wrt 'special markup': you obviously need to use Xtensa assembly, but that's it from what I know.

Re: How to add project asm files with functions

Posted: Sat Dec 14, 2019 3:41 pm
by Deouss
I definitely need to use Xtensa assembly. Are there any guides or examples how to program in LX6/7 assembler?
Thanks

Re: How to add project asm files with functions

Posted: Sun Dec 15, 2019 3:03 am
by ESP_Sprite
Sorry, there are not, and we're not allowed to release any ISA documents (it's under a NDA from Cadence)... however, if you google, something may turn up.