13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C Languagemain: .type func; __my_pow code is inlined heremov r0,#2mov r1,#31:movr2,r1subs r0,r0,#1mulne r2,r2,r1bne 1pAs you can see, the generated assembly code <strong>for</strong> the function __my_pow is inlined rather than called.Numeric labels are used <strong>for</strong> the loop.35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!