[fpc-devel] arm embedded cortexM3 unrecognized opcode

Geoffrey Barton mrb at periphon.net
Mon Jul 12 18:24:04 CEST 2010


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



More information about the fpc-devel mailing list