U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(3): 汇编空语句
来源:互联网 发布:mac终端进入编辑模式 编辑:程序博客网 时间:2024/05/09 20:21
在编译start.s的时候,有这样的错误:
[Error ea5004] "../../cpu/blackfin/start.S":76 Syntax Error in :
;
syntax error is at or near text ';'.
Attempting error recovery by ignoring text until the ';'
错误位置的代码是:
serial_early_puts("Init Registers");
查ea5004的解释是:
ea5004
Syntax Error
Description
Parsing of the instruction is halted when an unexpected character is encountered. At this point, the assembler displays the first character that failed the syntax check.
Example
In this example, the error is reported because the colon precedes the label.
[Error ea5004] err_4.asm":1 Syntax Error in :
:label r0=1;
parse error is at or near text ':'.
Attempting error recovery by ignoring text until the ';'
How to fix
Look for any characters that do not follow the prescribed syntax.
语法错误?查了下serial_early_puts,它已经在u-boot-1.1.6-2008R1/cpu/blackfin/serial.h中定义为:
# define serial_early_puts(str)
好像也没什么错误呀?
试着将这行语句末尾的分号去掉,马上就pass了。原来在VDSP5下汇编中是不能有空语句的,直接在一行上打一分号是不行的!!
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(3): 汇编空语句
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录:#if
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(2): .macro
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(4):提示信息
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(5):ENDPROC
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(10):__xchg
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(11):bsz
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(13):使用L1
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(15):DECLARE_GLOBAL_DATA_PTR
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(16):*cplb_add
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(17): Entry.h
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(18):const
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(19):分号惹祸
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(21):收工
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录:全文
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(6):使用u-boot的crt代码
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(7):改造u-boot.lds.s
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(9):bool的问题
- Windows CE 简介
- Response实例导学
- GridView中的自定义列
- 用命令创建ODBC数据源
- GridView和DataGrid的异同
- U-boot-1.1.6-2008R1到vdsp5(bf561)的移植记录(3): 汇编空语句
- Request实例导学
- checked or unchecked
- 搞笑的中英结合自我介绍
- 深克隆C#代码
- 利用PHP读取Excel的简单例子
- Oracle数据库完整性约束
- CUDA windows 开发
- Oracle数据库触发器(Triggers)