CPUX support for simulation target
thiloschulz opened this issue · 1 comments
thiloschulz commented
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?
dlbeer commented
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 <dlbeer@gmail.com> http://dlbeer.co.nz/
PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B