[fpc-devel] arm embedded cortexM3 unrecognized opcode

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jul 14 13:44:21 CEST 2010


Bernd Mueller schrieb:

> Users, who do embedded stuff (without OS) NEED FULL control over the 
> controller. I agree with Jeppe, that the compiler should not restrict 
> something.

In this case I don't understand how FPC is useful at all. I cannot 
create executable files for such a device...


  Otherwise, you would need eventually ugly workarounds like
> the following (on ARM7 with an old fpc 2.3.1), which could easily be 
> done in gcc btw.

C has some language constructs for OS or driver implementation, e.g. 
"interrupt". Should we add these to the OPL, to make FPC/OPL compete 
with gcc/C? It would be nice, though, to have an Pascal DDK for Windows ;-)


Abstract: Even if it's easy to add privileged instructions to every 
machine, the ordinary user IMO should be protected from using them.

DoDi




More information about the fpc-devel mailing list