This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cdecls Assembly directive in 'c55x mneumonic 'mode' error

TI - this works in algebraic mode but I can't get it to work in mneumonic assembly mode.

[E9999]
         Syntax Error
        .cdecls C, List,"xConfig.h"

"..\CCS\c55x\xASM.asm", ERROR!   at line 1:
 [E9999]
         Invalid mnemonic specified
        .cdecls C, List,"xConfig.h"

Be great too if TI could release a 'c55x Assembly Reference manual that is from this epoch.  (SPRU280H -> 7/04)

Thanks,
johnw

  • The .cdecls directive does not work in C5500 mnemonic assembly, only algebraic.  Sorry.

    The assembly book is old.  The best information as of now is in the readme file that comes with the compiler installation.  You can access the readme files from the download page https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/index.htm without having to actually download and install.

    Thanks and regards,

    -George

     

  • George,

    Wow - that is bad news.  Can you guys get that fixed - I consider that somewhat major - will force me to convert my .h's to .inc's - which isn't a small chore.

    Algebraic is 'cute' - up until the point you gag at the goto's.  

    Would be nice as well to see the assembler manual updated for the 'C551x series (obviously).

    Have a couple of more questions - 

    where are USE_RETA, C54X_STK, ... defined?  I couldn't find this clearly documented - even found a contradiction between some code and what was in the 'C55x docs - 

    C54X_STK will result in a 32-bit stack, slow return, correct?  Is is possible to have 32-bit stack, fast return?

    Also - is it possible to force SP and SSP to be in lock-step? - Speaking of course of the 'C551x here.

    Thanks,
    johnw

     

  • johnw said:
    Wow - that is bad news.  Can you guys get that fixed - I consider that somewhat major - will force me to convert my .h's to .inc's - which isn't a small chore.

    A request with SDOWP id SDSCM00024955 was filed 2 years ago.

    johnw said:
    where are USE_RETA, C54X_STK, ... defined?

    In the description of the .ivec directive in http://www.ti.com/lit/pdf/spru280 .  Background on all the stack modes and how they work is in the Stack Operation chapter of http://www.ti.com/lit/pdf/spru371 .

    Thanks and regards,

    -George

     

  • George,

    A request with SDOWP id SDSCM00024955 was filed 2 years ago. - Holy mackerel!  At least it has been accepted.  Can you find out when it will be fixed?  

     In the description of the .ivec directive in http://www.ti.com/lit/pdf/spru280 .  Background on all the stack modes and how they work is in the Stack Operation chapter of http://www.ti.com/lit/pdf/spru371 .

    Yes, I have looked at that - I was hoping they were defined in an include file somewhere - but looks like this is something that is actually defined in the compiler - correct?

    I have also seen in other posts talking about how users can log into SDOWP - is it possible for me to add anything to SDSCM00024955 - just would like to see it fixed.  Since this works under algebraic mode - seems like it would not take a lot of extra effort to get it working under mneumonic mode - and it works under other assemblers, like for the MSP430.

    Thanks Geroge,
    John

     

  • johnw said:
    Yes, I have looked at that - I was hoping they were defined in an include file somewhere - but looks like this is something that is actually defined in the compiler - correct?

    USE_RETA etc. are special operands recognized by the .ivec directive of the assembler. 

    I'll have to get back to you on the .cdecls in mnemonic issue.

    Thanks and regards,

    -George

     

  • At present, there are no plans to add .cdecls support to the mnemonic assembler.  I'm sorry.

    Thanks and regards,

    -George

     

  • George,

    Wow - utter sadness on my end here. 

    Regards,
    John W.