Part Number: TMS320F280049C
no our project use 280049's CLA, The code was ported from 28035. (both project's opt level is 0--register optimizations)
in 28035 CLA code i use two temporary variables: Uint16 Tempa,Tempb; and the code is


you can see the Tempa and Tempb's value is gived to MR0 and MR1, and when use Tempa and Tempb, the instruction is very sample, this save more time

that's work well.
but in 280049, the Tempa and Tempb's value is gived to MR0 and MAR0

this load to when i use Tempb, MAR0 must first give to 0x200, and then 0x200's value give to TBPRDHR

why this? can CLA use the stack's space? How to set or optimize to obtain the concise instructions like 28035's CLA when use 280049's CLA, How can i use temporary variables?


