[fpc-devel] arm embedded cortexM3 unrecognized opcode

Jeppe Johansen jepjoh2 at kom.aau.dk
Mon Jul 12 20:06:31 CEST 2010


Add the missing instructions to the bottom of armins.dat, run mkarmins 
in the same directory. (and then submit patch) :-)

Geoffrey Barton skrev:
> I wrote a procedure to turn on interrupts:-
>
> procedure intenable;nostackframe;
> begin
>   asm
>      cpsie i
>   end;
> end;
>
> 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?
>
> Geoffrey
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list