Hi, Documentation says:
Registers are allocated in the order r12 to r15, r11 to r0. Please use this order if you plug in assembly language functions. msp430.h says: #define REG_ALLOC_ORDER { 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0 } I assume that documentation is outdated here. Indrek, digging in MSPGCC and GCC RTL documentation. -- Indrek Rebane | Borthwick-Pignon Electronics Engineer | Tartu Science Park Phone: (+372) 7 302 641 | Riia 185, 51014 Tartu Fax: (+372) 7 383 041 | Estonia ind...@bps.co.ee | www.bps.co.ee