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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

1,640 Views
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

Tags (1)
0 Kudos
2 Replies

937 Views
lpcxpresso_supp
NXP Employee
NXP Employee

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

Regards,

LPCXpresso Support

0 Kudos

938 Views
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 Kudos