inline asm

16 Jul 2010 . Edited: 16 Jul 2010

Hello,

When I build a C source with the code

 

__asm void test( void )
{
    PRESERVE8

    mov r0, #0                      
}

I have the error message : "Sh: /opt/RVDS4/RVCT/Programs/4.0/400/linux-pentium//armasm: Permission denied (E0)" in file "/test/main.cpp"

 

 

Thanks.

17 Jul 2010 . Edited: 17 Jul 2010

Hi Morgane,

We don't currently support assembler, just C/C++. That is why you are getting this (somewhat ugly) error. But thanks for showing interest in it, and i'll add asm support to the wishlist!

Thanks,
Simon

17 Jul 2010

Weird, my FFT program still compiles. However, It uses separate .s files, not inline asm.

17 Jul 2010

Hi Igor,

I should say it is not "officially" supported. Separate .s files do actually work at the moment, but not officially :P And inline asm doesn't. But we'll look to add it...

Simon