Forum Discussion
Altera_Forum
Honored Contributor
20 years agoasemblle cope
Hi all! I need to write an assemby code that will do some thing like this float callee(float a, float b1) { int c=7; return (b1-a)/c; } i know i could use nios-2-elf-objdum...
Altera_Forum
Honored Contributor
20 years agoHello,
if you search the objectdump for __divsf3, you will find the address for the function. Yes, the address will change every time you change the source code. If you have a quick look to the code you posted, you will not save a lot by doing this in assembly, if you call the __divsf3 , __subsf3 and __floatsisf functions. Most of the work is done there. Stefaan