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.

CCS/MSP430F5659: ORG function in Code Composer Studio ASM only project

Part Number: MSP430F5659

Tool/software: Code Composer Studio

Good Morning everybody!

Today I'm here to ask you if in Code Composer Assembly language there is a directive with the same "power" of ORG directive in IAR.

I explain better the situation...

I have my assembly only project in CCS8 and I need to define some memory segments both in RAM and in FLASH memory.

With IAR I used ORG to define the start address of my memory segment and I could also place it wherever I want.

But how I can do the same with ASM430 language in Code Composer Studio?

I'd really appreciate any advice and help!

Thanks & Regards,

Luigi 

  • I am not familiar with IAR assembly code.  It sounds like ORG is a directive which sets a variable (or section?) to a given hard-coded addresses.  The TI MSP430 assembly has no corresponding directive.  The general method is to put variables and code in sections, then allocate those sections to memory ranges defined in the linker command file.

    Thanks and regards,

    -George