mspdebug
mspdebug copied to clipboard
CPUX support for simulation target
Texas instrument's msp430-elf-gcc seems to emit PUSHM instructions instead of PUSH for MCUs that support CPUX or even when using compiler flag "-msim". The simulator throws an "unknown single-operand opcode: 0x1500") error. Are there plans to add CPUX to the simulation target?
On Thu, Feb 06, 2020 at 07:24:35AM -0800, Thilo Schulz wrote:
Texas instrument's msp430-elf-gcc seems to emit PUSHM instructions instead of PUSH for MCUs that support CPUX or even when using compiler flag "-msim". The simulator throws an "unknown single-operand opcode: 0x1500") error. Are there plans to add CPUX to the simulation target?
Hi Thilo,
There are no plans currently, but I'm happy to help anyone who wants to implement it.
If you want to generate code to target the simulator, you'd probably be better off for now explicitly specifying a real CPU with an MSP430 core.
Cheers, Daniel
-- Daniel Beer [email protected] http://dlbeer.co.nz/ PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B