Convert a 'C' code into an assembly instructions in LPCXpresso IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Convert a 'C' code into an assembly instructions in LPCXpresso IDE

2,407件の閲覧回数
himanshudoshi
Contributor III

Hello to all,

I would like to convert my C code into the corresponding assembly code while compiling and wanted a copy of that to be saved into the project directly. So, what setting can be applied to the project property in the IDE?

For example, a C code of Fibonacci series in an assembly language?

Can anybody help me out with that?

Thanking you in advance, 

Regards,

Himanshu

タグ(1)
0 件の賞賛
2 返答(返信)

1,704件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

See the FAQ : https://community.nxp.com/message/630600 

Regards,

LPCXpresso Support

0 件の賞賛

1,705件の閲覧回数
driesmoors
NXP Employee
NXP Employee

Hi,

LPCXpresso is using gcc for compilation. You can try adding the -S option to see the output of the compilation process (i.e. the assembler code). See Using the GNU Compiler Collection (GCC): Overall Options  (Press Page Down a few times to find the -S option.)  

Regards,
Dries.

0 件の賞賛