SLAZ269AB October 2012 – May 2021 MSP430F5325
CPU Module
Compiler-Fixed
SP corruption
When the instruction PUSHX.A is executed using the indirect auto-increment mode with the stack pointer (SP) as the source register [PUSHX.A @SP+] the SP is consequently corrupted. Instead of decrementing the value of the SP by four, the value of the SP is replaced with the data pointed to by the SP previous to the PUSHX.A instruction execution.
None. Note that compilers will not generate a PUSHX.A instruction that involves the SP.
Refer to the table below for compiler-specific information.
IDE/Compiler | Version Number | Notes |
---|---|---|
IAR Embedded Workbench | Not affected | |
TI MSP430 Compiler Tools (Code Composer Studio) | Not affected | User is required to add the compiler or assembler flag option below. --silicon_errata=CPU18 |
MSP430 GNU Compiler (MSP430-GCC) | Not affected |