karen% m4s /fingerprint/regs
r12 60
r13 6
r14 48
r15 221
karen
This example was compiled with an old version of IAR, which would only pass parameters in r12 and r14. r15 is the first scratch register, and r13 the second. GCC allocates r15, r14, r13, r12; recent revisions of IAR allocate r12, r13, r14, r15.
Cheers,
--Travis
No comments:
Post a Comment