I believe I have found an assembler bug in C2000 CGT v.15.12.1. The following two lines show the issue:
SUBF32 R2H, R3H, R7H
|| MOV32 R7H, *--SP, UNCF
After assembly, the code shown in the disassembly window is:
SUBF32 R2H, R7H, R7H
|| MOV32 R7H, *--SP
Note the second operand in the SUBF32 instruction is different.
Please let me know if more information is needed. Thanks.
Regards,
Richard