When do we use assembly instruction in xC? Topic is solved

If you have a simple question and just want an answer.
sudha
Member
Posts: 14
Joined: Thu Oct 17, 2013 12:19 pm

When do we use assembly instruction in xC?

Post by sudha »

Assembly instruction can be incorporated using asm(...). When should we use assembly instructions?



View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

 

Assembly language provides you the previlege of controlling the total machine-cycles of your program, which xC language can't provide. This can be helpful for exact analysis of any algorithm.