I am working with the C5515 eZDSP USB Stick.
I am seeing the content of the memory locations pointed to by CDP modified in the following instructions, and I don't understand how or why.
AC2 = *AR0+*HI(coef(*CDP)),
AC3 = *AR0+*LO(coef(*CDP))
AC3 = rnd(AC3 + (*AR0+*HI(coef(*CDP)))),
AC2 = rnd(AC2 - (*AR0+*LO(coef(*CDP))))
I have a breakpoint set to observe the memory location (which is in DARAM), and it stops on these instructions.
This happens very consistently, with the content of *CDP having a small amount added to it each time.
This is the only place where this memory is addressed, other than the initialization.
Just for additional info, here are the values of the status registers:
ST0 = 0x8000
ST1 = 0x6140
ST2 = 0x7400
ST3 = 0x1006