[fpc-devel] arm embedded cortexM3 unrecognized opcode
mrb at periphon.net
Tue Jul 13 12:15:19 CEST 2010
On 12 Jul 2010, at 19:06, Jeppe Johansen wrote:
> Add the missing instructions to the bottom of armins.dat, run
> mkarmins in the same directory.
It now recognises the mnemonic 'cpsie' but not the following 'i'.
The 'msr' instruction should also allow the interrupts to be enabled/
but msr gives an unknown identifier error for 'primask' and all the
other 'special' register names ('apsr' etc.) Perhaps they have been
given different names, but I cannot find them listed anywhere in the
> (and then submit patch) :-)
well, once I have some code which works on the chip, I will ask
someone where to put it :-)
> Geoffrey Barton skrev:
>> I wrote a procedure to turn on interrupts:-
>> procedure intenable;nostackframe;
>> cpsie i
>> The compilation fails with 'Error: Unrecognized opcode cpsie'
>> The compiler also does not recognise 'cpsid' and also 'primask' as
>> in 'mrs r0,primask'
>> any ideas/workarounds?
>> fpc-devel maillist - fpc-devel at lists.freepascal.org
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel