компилю вот такой файл "initmem.a" в CCS3.1
Код
.sect ".mydata"
.short 0
.short 7
.short 10
.short 7
.short 0
.short -7
.short -10
.short -7
.short 0
.short 7
------------------------------ lab1.pjt - Debug ------------------------------
[initmem.a] "E:\program files\ccs31\C6000\cgtools\bin\cl6x" -g -al
-fr"E:/program files/ccs31/MyProjects/lab1/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "initmem.a"
"initmem.a", line 1: error: expected a declaration
At end of source: warning: parsing restarts here after previous syntax error
1 error detected in the compilation of "initmem.a".
>> Compilation failure
"initmem.a", line 1: error: expected a declarationrtfm результатов не дал
подскажите пожалуйста
чего он хочет
а ещё если добавить где-нибудь комментарий,
то появляются ещё ошибки
Код
.sect ".mydata"
.short 0
.short 7 ;ffgfg
.short 10
.short 7
------------------------------ lab1.pjt - Debug ------------------------------
[initmem.a] "E:\program files\ccs31\C6000\cgtools\bin\cl6x" -g -al -fr"E:/program files/ccs31/MyProjects/lab1/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "initmem.a"
"initmem.a", line 1: error: expected a declaration
"initmem.a", line 3: error: this declaration has no storage class or type specifier
"initmem.a", line 4: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
3 errors detected in the compilation of "initmem.a".
>> Compilation failure