How to add project asm files with functions

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

How to add project asm files with functions

Postby Deouss » Fri Dec 13, 2019 3:15 pm

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

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: How to add project asm files with functions

Postby ESP_Sprite » Sat Dec 14, 2019 3:34 am

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.

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: How to add project asm files with functions

Postby Deouss » Sat Dec 14, 2019 3:41 pm

I definitely need to use Xtensa assembly. Are there any guides or examples how to program in LX6/7 assembler?
Thanks

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: How to add project asm files with functions

Postby ESP_Sprite » Sun Dec 15, 2019 3:03 am

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.

Who is online

Users browsing this forum: Baidu [Spider] and 138 guests