Hi Team,
Here's an issue from the customer may need your help:
sTmpUint32_3 = sTmpUint32_1 - sTmpUint32_2;
The above line of code, the compiled assembly code is as follows.
The test found that running these assembly codes requires 6 CPU cycles (by using CCS-->Run-->Clock).
These instructions are all single-cycle instructions. They should only take 4 CPU cycles. Why do they actually take 6 CPU cycles?
0849dc: 761F0262 MOVW DP, #0x262 0849de: 0606 MOVL ACC, @0x6 0849df: 0308 SUBL ACC, @0x8 0849e0: 1E0A MOVL @0xa, ACC
--
Thanks & Regards