小弟菜鸟一个 最近开始学习使用STVD7软件 用的是汇编语言 遇到了麻烦 build 的时候老是出错
Assembling mapping.asm... asm mapping.asm -I="C:\Program Files\STMicroelectronics\st7toolset\include" -I="C:\Program Files\STMicroelectronics\st7toolset\include" -obj=Debug\mapping.obj -I="C:\Program Files\STMicroelectronics\st7toolset\asm\include"
STMicroelectronics assembler v4.49
No errors on assembly of 'D:\stwork\mapping.asm'
Assembling adc.asm... asm adc.asm -I="C:\Program Files\STMicroelectronics\st7toolset\include" -I="C:\Program Files\STMicroelectronics\st7toolset\include" -obj=Debug\adc.obj -I="C:\Program Files\STMicroelectronics\st7toolset\asm\include" Couldn't open table file 'C:\Program Files\STMicroelectronics\st7toolset\asm\TITLE "adc.ASM'.tab': Invalid argument
STMicroelectronics assembler v4.49
The command: "asm adc.asm -I="C:\Program Files\STMicroelectronics\st7toolset\include" -I="C:\Program Files\STMicroelectronics\st7toolset\include" -obj=Debug\adc.obj -I="C:\Program Files\STMicroelectronics\st7toolset\asm\include"" has failed, the returned value is: 2 exit code=2.
second.s19 - 1 error(s), 0 warning(s)
程序代码如下 TITLE "adc.ASM' MOTOROLA #INCLUDE "ST7FLITE02.INC" WORDS SEGMENG 'ROM' .MAIN CALL INIT .WAIT BTJF ADCCSR,#7,WAIT LD A,ADCDR LD PADR,A JRA WAIT .INIT LD A,#$0FF LD PADDR,A LD PAOR,A LD A,#$25 LD ADCCSR,A RET SEGMENT 'VECTOR' DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W 0 DC.W MAIN END |