我使用的每个PIC/dsPIC都有一个ASM模板。当我启动一个新项目时,我将适当的模板复制到为该项目创建的文件夹中。因此,当我右键单击SOURCE选项(在左侧菜单上)时,源文件就在那里。请记住,如果您使用的是ASM30或XC16编译汇编源文件具有.s扩展名。以防万一,请检查dsPIC30F4013 ASM模板的线程:http://www..hip.com/for./m943063.aspx?树= TreIE,在那里你可以找到C语言中的代码和汇编语言中的相同代码。
以上来自于百度翻译
以下为原文
I have an ASM template for each PIC/dsPIC I work with.
When I start a new project I copy the appropriate template into the folder created for the project.
So when I right click on the SOURCE option (on the menu at the left) the source file is there.
Remember that if you are using ASM30 or XC16 compilers the assembly source files has the .s extension.
Just in case, check this thread for a dsPIC30F4013 ASM template:
http://www.microchip.com/forums/m943063.aspx?tree=true
There you find a code in C language and the same code in Assembly language.
我使用的每个PIC/dsPIC都有一个ASM模板。当我启动一个新项目时,我将适当的模板复制到为该项目创建的文件夹中。因此,当我右键单击SOURCE选项(在左侧菜单上)时,源文件就在那里。请记住,如果您使用的是ASM30或XC16编译汇编源文件具有.s扩展名。以防万一,请检查dsPIC30F4013 ASM模板的线程:http://www..hip.com/for./m943063.aspx?树= TreIE,在那里你可以找到C语言中的代码和汇编语言中的相同代码。
以上来自于百度翻译
以下为原文
I have an ASM template for each PIC/dsPIC I work with.
When I start a new project I copy the appropriate template into the folder created for the project.
So when I right click on the SOURCE option (on the menu at the left) the source file is there.
Remember that if you are using ASM30 or XC16 compilers the assembly source files has the .s extension.
Just in case, check this thread for a dsPIC30F4013 ASM template:
http://www.microchip.com/forums/m943063.aspx?tree=true
There you find a code in C language and the same code in Assembly language.
举报