lpcware

Invoking Assembly implementation from c file

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by praveen.9123 on Fri Feb 28 04:38:55 MST 2014
Hi,

I am facing an issue on LPC4330 board and have described the same below.

I am calling assembly implementation from c code where the hardware is going into hang state and am not seeing any further execution.
In detail, there is a function MULSHIFT32 is defined in .s file. I am calling MULSHIFT32 from a .c file where the issue is occurring.

I have attached the assembly file for your reference.

Do i need to add any flags to integrate assembly code with c code? Please help me.

Regards,
Praveen

Original Attachment has been moved to: asmmisc_s.odt

Outcomes