We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Using XC161 DSP Registers like IDX, MAE, MAH or MDL in "Extended Inline Assembler Blocks": Do I have to save and restore (push / pop) this registers - by use in standard linear code ? - by use in interrupts ? - by use in reentrant functions ?
There is no need to save them. They will be saved by interrupts that use the MAC unit. See also: http://www.keil.com/appnotes/files/apnt_172.htm under Register Usage in Assembler Blocks