Hi,
I debug a C55 routine, see below please.
218 ;max_diff(AC0, AC1, AC2, AC1) ;Compare AC0, AC1
219 ;||*AR4(T0) = lo(AC2), ;Store New_metric(0)&(8)
220 ; *AR4+ = hi(AC2)
210 MAXDIFF AC0, AC1, AC2, AC1
211 || MOV AC2, *mnew_ptr(m_index), *mnew_ptr+
Before executing line 211, the register and memory contents are:
I am thinking about "MOV AC2, *AR5(T0), *AR5+".
AR5=0X0010, T0=0X0008, AC2=0X000032004E
The address AR5(T0)=0x0018, memory at 0x0018 is: 036B
After I step, the contents is:
I do not see memory 036B changed. Why am I wrong?
A new question about the parallism of the MOV and MAXDIFF. As the AC2 reading, I think that it should use AC2 value before MAXDIFF executing, right?
The code I cite is from an application note downloaded from TI. I attach it here.
Regards,