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.

Inline Assembler CCSV4 to CCSv5

Other Parts Discussed in Thread: MSP430F1611

Hello everyone.

Target Device:MSP430F1611.
Use Compiler : CCS v5


I have question
When I previously to compile the code that was used in CCS v4 in CCSv5 it is an error.
Partial an error has occurred is the part of Inline Assembler.

__asm("dtt_dcopy_loop:");
__asm(" swbp @R12");
__asm(" mov.w @R12+, 0(R13)");
__asm(" inc.w R13");
__asm(" inc.w R13");
__asm(" dec.w R14");
__asm(" jnz dtt_dcopy_loop");

These code was make error message.
I did not have any problem when you compile these codes in CCSv4.

These mnemonic uses what is described in the manual.
Error will occur when using the SWBP instruction.
When I use the SWBP instructions, error will also occur in the general assembler code.

I To use the Inline Assembler in CCSv5 is, do I need to set something to CSv5?


Error messages that occur are as follows.

"dtt.asm", ERROR! at line 1839: [E0002] Illegal mnemonic specified
swbp @R12

"dtt.asm", ERROR! at line 1861: [E0300] Symbol dtt_dcopy_loop has already been
defined
.dwpsn file "../dtt/dtt.c",line 1115,column 2,is_stmt

"dtt.asm", ERROR! at line 1862: [E0002] Illegal mnemonic specified
swbp @R12

"dtt.asm", ERROR! at line 1881: [E0300] Symbol dtt_dcopy_loop has already been
defined
.dwpsn file "../dtt/dtt.c",line 1115,column 2,is_stmt

"dtt.asm", ERROR! at line 1882: [E0002] Illegal mnemonic specified
swbp @R12

"dtt.asm", ERROR! at line 1913: [E0300] Symbol dtt_dcopy_loop has already been
defined
.dwpsn file "../dtt/dtt.c",line 1115,column 2,is_stmt

"dtt.asm", ERROR! at line 1914: [E0002] Illegal mnemonic specified
swbp @R12

"dtt.asm", ERROR! at line 1940: [E0300] Symbol dtt_dcopy_loop has already been
defined
.dwpsn file "../dtt/dtt.c",line 1115,column 2,is_stmt

"dtt.asm", ERROR! at line 1941: [E0002] Illegal mnemonic specified
swbp @R12

"dtt.asm", ERROR! at line 1961: [E0300] Symbol dtt_dcopy_loop has already been
defined
.dwpsn file "../dtt/dtt.c",line 1115,column 2,is_stmt

"dtt.asm", ERROR! at line 1962: [E0002] Illegal mnemonic specified
swbp @R12

best regards.