On 20 Aug 2010, at 09:41, Nataraj S Narayan wrote:
This compiles and links. But wont execute on Arm target
(at91sam9263ek).
Just waits endless. The equivalent C code linked to the external
assembled
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.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal