[fpc-pascal] inline asm in fpc progran
jonas.maebe at elis.ugent.be
Fri Aug 20 11:08:57 CEST 2010
On 20 Aug 2010, at 09:41, Nataraj S Narayan wrote:
> This compiles and links. But wont execute on Arm target
> Just waits endless. The equivalent C code linked to the external
> code works well.
You probably need the "nostackframe" directive, or remove the "mov
pc,lr" at the end.
Compile the code with -al, compile equivalent Pascal code with -al and
look at the differences in the generated ".s" files.
More information about the fpc-pascal