Hi expert,
A strange problem happened to me: I use IAR develop C program for MSP430F417 MCU, a problem happened, and I checked the Disassembly code. Then, I found that the R10 register's value is modified after this instruction "inc.b R14". Shown as bellow:
(R14 stored the first parameter of a function: void dsStoreData( uint8_t* destination, uint8_t* data, uint8_t size ))
figure1: the disassembly window:
figure 2: before run the "inc.b R14" instruction, (stopped on this instrunction)
figure 3: after pressing "F11"(step in), the PC was not changed, but R14 changed, and R10 was also changed