Tool/software: TI C/C++ Compiler
A customer has complained that his bellow % operator code was not assembled correctly.
mov.w #(0x232800 % 0x10000),R4 ;NG
He says v15.12 is OK, but v16.9 is NG. He wants to fix this trouble to make his codes compatible.
I have reproduced this trouble as bellow. With using CCSv7, ‘%’ operator cause unjust code while ‘/’ operator make correct code.
CCSv7.3, compiler v16.9.6;
CCSv6.2, compiler v15.12.3;
Best Regards,
Kazuo Yamauchi