WCE+ARM+TCPMP VS2005之旅:ASM编译添加规则的方法

编译ASM时得添加规则:

 右击项目-> 自定义生成规则->

 

之后能对arm.asm进行编译了,可是却出现了下面的提示:

 

1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(24) : error A0051: unknown opcode: 32
1>BITS 32
1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(25) : error A0051: unknown opcode: .
1>SECTION .text
1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(27) : error A0005: improper line syntax: %
1>%macro cglobal 2
1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(28) : error A0005: improper line syntax: %
1>%define %1 _%1@%2
1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(29) : error A0005: improper line syntax: 1
1>global %1
1>e:\Au1380_forVolo\Software_Design\R&D Projects\SourceCode\VideoPlayer\TCPMP\common\softidct\mcomp_mmx.asm(30) : error A0005: improper line syntax: %

 


 之后把一些文件排除掉

再把MMX宏去掉,编译就通过了

你可能感兴趣的:(WCE+ARM+TCPMP VS2005之旅:ASM编译添加规则的方法)