Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: RXC Compiler #pragma inline_asm option

$
0
0
Thanks for the reply.. Can you send me a link to the RXC Manual you are referencing because the one I downloaded didn't have a reference to inline_asm on page 332 I am assuming you are saying that the asm inline functions are ok. I have shown you sample code that includes both forms of creating inline assembly code: And also illustrated that I am getting errors generated for both samples: #pragma inline_asm test static void test( void ) {    NOP // Symbol 'NOP' could not be resolved test_asm.c /test_asm/src line 42 Semantic Error           // should be read as a machine code instruction } void main(void) {    test();    asm("NOP"); // E0562310: Undefined external symbol "_asm" referenced in ".\src\test_asm.obj" test_asm C/C++ Problem                       // sees "asm" as an external symbol } As mentioned earlier I have tested both these functions on RXC 1.xx as well... So must be missing something in my setup.

Viewing all articles
Browse latest Browse all 59170

Trending Articles