TI中文支持网
TI专业的中文技术问题搜集分享网站

编译工程

编译一个工程出现了很多这样错误,不知道怎么解决。
user4049846:

可否提供一下你的工程以及错误的截图呢?
你这是什么芯片的什么程序?

user5331755:

回复 user4049846:

AC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 530: [E9999] Invalid mnemonic specifiedAC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 531: [E9999] Illegal directive ormnemonic*port(#I2S1_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 542: [E9999] Syntax ErrorAC0 = *port(#I2S2_CR_LSW)

"..\i2s_register.asm", ERROR!at line 542: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S2_CR_LSW)

"..\i2s_register.asm", ERROR!at line 543: [E9999] Syntax ErrorAC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 543: [E9999] Invalid mnemonic specifiedAC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 544: [E9999] Illegal directive ormnemonic*port(#I2S2_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 555: [E9999] Syntax ErrorAC0 = *port(#I2S3_CR_LSW)

"..\i2s_register.asm", ERROR!at line 555: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S3_CR_LSW)

"..\i2s_register.asm", ERROR!at line 556: [E9999] Syntax ErrorAC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 556: [E9999] Invalid mnemonic specifiedAC0 |= 0x8000

"..\i2s_register.asm", ERROR!at line 557: [E9999] Illegal directive ormnemonic*port(#I2S3_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 568: [E9999] Syntax ErrorAC0 = *port(#I2S0_CR_LSW)

"..\i2s_register.asm", ERROR!at line 568: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S0_CR_LSW)

"..\i2s_register.asm", ERROR!at line 569: [E9999] Syntax ErrorAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 569: [E9999] Invalid mnemonic specifiedAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 570: [E9999] Illegal directive ormnemonic*port(#I2S0_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 581: [E9999] Syntax ErrorAC0 = *port(#I2S1_CR_LSW)

"..\i2s_register.asm", ERROR!at line 581: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S1_CR_LSW)

"..\i2s_register.asm", ERROR!at line 582: [E9999] Syntax ErrorAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 582: [E9999] Invalid mnemonic specifiedAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 583: [E9999] Illegal directive ormnemonic*port(#I2S1_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 594: [E9999] Syntax ErrorAC0 = *port(#I2S2_CR_LSW)

"..\i2s_register.asm", ERROR!at line 594: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S2_CR_LSW)

"..\i2s_register.asm", ERROR!at line 595: [E9999] Syntax ErrorAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 595: [E9999] Invalid mnemonic specifiedAC0 &= 0x7FFF

"..\i2s_register.asm", ERROR!at line 596: [E9999] Illegal directive ormnemonic*port(#I2S2_CR_LSW)=AC0

"..\i2s_register.asm", ERROR!at line 607: [E9999] Syntax ErrorAC0 = *port(#I2S3_CR_LSW)
180 Assembly Errors, No Assembly Warnings

"..\i2s_register.asm", ERROR!at line 607: [E9999] Invalid mnemonic specifiedAC0 = *port(#I2S3_CR_LSW)

"..\i2s_register.asm", ERROR!at line 608: [E9999] Syntax ErrorAC0 &= 0x7FFF
这个是错误结果,用的是TMS320VC5505芯片,这个一个跟音频有关的程序

shakencity:

你看下指向你程序的那些行的关联是怎样的,错误多没关系,往往一个点解决了就全解决了

user5331755:

回复 Shine:

谢谢了

赞(0)
未经允许不得转载:TI中文支持网 » 编译工程
分享到: 更多 (0)