Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: C to Assembly Generation Help

$
0
0

I am using a dsp library for the tms32054x, and am interested in the assembly code that is created. When I compile the following C code with no optimization and suppressing all symbolic bug generation:

#include <dsplib.h>
#include <tms320.h>

short noscale = 0;

int main(void) {
   cifft(x,64,noscale);

}

I get this as my assembly:

_main:
FRAME #-3
;----------------------------------------------------------------------
; 80 | cifft(x,64,noscale);
;----------------------------------------------------------------------
MVKD *(_noscale),*SP(0) ; |80|
CALLD #_cifft64 ; |80|
LD #_x,A
; call occurs [#_cifft64] ; |80|
FRAME #3
RETD
LD #0,A
NOP
; return occurs
;**************************************************************
;* UNDEFINED EXTERNAL REFERENCES *
;**************************************************************
.global _cifft64

I am wondering if there is anyway I can actually see the cifft64 function inside of my generated assembly code. Currently this function is called, but the contents of the function do not show up in the assembly code.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>