完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
大家好…我是一个完整的绿色棒在这一切…我在阅读、阅读和阅读…尝试……但没有任何意义我…我有一个ASM文件称为正常。我在PC上装载了MPLAB 8.92…你可以得到正常的.ASM文件…微芯片网站…从AN64…我在扫描互联网后发现了这个文件…因为它确实…或多或少…我想要的……所以我写了另一个解码程序…使用流代码…它的工作大约92%的时间。矿井不做实际…代码跳跃。例行公事…我只是绕过那部分…嗯,现在我找到了这个汇编文件。我有一个PIC16F57芯片。(看两个数据表。“56”和“57”。看起来几乎一样。Boin插销).No.ASM文件中有一些代码行。我只是摸不透…(我需要让它正确编译……)所以有“$”的迹象。在等式声明中…对我来说,他们似乎是…像假的等同…只是为了让作者能把文件拿到光盘上。我希望我能找到一个人。告诉我…这一切意味着什么…(我有个主意…但需要有人来澄清我的想法…请……我也想改变…这个NORMAL.ASM文件。转到另一个小芯片。比如说16F68…首先…任何人…有兴趣帮助…拜托。?我完全被困在这里了我是一个职业科学家。只需要做些事情…这样我就可以达到我的一些任务的实际终点。为了完成整个项目,所以我对PIC汇编语言有一定的了解。是零…正如我所说的…我必须通过它。为了使项目的其他部分完成…任何帮手…拜托。。????拜托。。????最善良的南方非洲。
以上来自于百度翻译 以下为原文 Hello folks... I am a complete GREEN StiCK in all of this.... I am reading and reading and reading... and trying.... BUT nothing makes any sense to me.. I have an ASM file called NORMAL.ASM... and I have MPLAB 8.92 loaded on the PC... You can get the NORMAL.ASM file... of the Microchip website.. from AN642 ... I found this file after scanning the internet... because it does... more or less ... kind of what I want ... So I have written another decoding program... using FLOWCODE... and it works about 92% of the time.. Mine does not do the actual.. code hopping.. routine.. I just bypass that part.. hmmm.. So now I have found this assembler file.. and I have a PIC16F57 chip.. (looking at the two datasheets.. the '56 and the '57.. look almost alike.. bar the pinouts).. There are some line of coding in the NORMAL.ASM file.. I just cannot fathom out.. (I need to in order to get it to compile correctly...).. So there are '$' signs.. in the EQU statements.. To me they appear to be.. like fake equates.. just so that the author can get the file to disc. I wish I could find someone.. to tell me.. what this all means.. (I have an idea.. but need someone to just clarify my thoughts.. please).. I would also like to transmogrify .. this NORMAL.ASM file .. over to another little chip.. say like a 16F684 ... to begin with.. ANYONE... interested in helping... please.?? I stuck here completely..!! I am a lay scientist.. and just need some things done.. so that I can reach the actual endpoint of some of the tasks I have.. in order to complete the whole project.. So my knowledge of PIC assembler.. is ZERO.. as I say.. I have to get through it.. to get the other parts of the project done.. Any helpers... please..??? please..??? Kindest Regards cardac south africa.. |
|
相关推荐
4个回答
|
|
|
在汇编程序中,“$”符号用于表示当前指令的程序地址。例如,将跳回自身。所有这些都来自MPLAB 8.92中“算术运算符和优先级”部分中的MPASM帮助文件,转到“帮助”、“主题…”、“MPASM汇编程序”或直接在C:P打开。RoGrm文件(x86)Microchip MPASM套件HLPMPASMASS.CHM(如果您选择左边的“index”选项卡,并向右滚动,您将看到索引条目为“$”)。您在哪里找到了652?AN662说它是一个“非限制版本的AN652”http://WW1.Microchip .com……En/AppNodis/06262C.PDF.但是源代码只出现在软盘上,我在Microchip网站上找不到它。
以上来自于百度翻译 以下为原文 In assembler, the "$" symbol is used to represent the program address of the current instruction. e.g. GOTO $ will jump back to itself. All this is in the MPASM Help File in the section "Arithmetic Operators and Precedence " From MPLAB 8.92, go to "Help", "Topics...", "MPASM Assembler" or open directly at C:Program Files (x86)MicrochipMPASM SuitehlpMPASMAsm.chm (If you select the "Index" tab on the left, and scroll right to the bottom, you will see the index entry for "$".) Where did you find AN652? AN662 says it is a "non restricted version of AN652" http://ww1.microchip.com/...en/AppNotes/00662C.pdf but the source code only comes on a diskette, I can't find it on the Microchip website. |
|
|
|
|
|
|
|
|
|
|
|
很好发现。为什么在微芯片网站上找到一个附注,你知道名字的时候会很痛苦?谷歌成功地找到了PDF文件中提到的源文件。http://Real.Putn.com /下载文件42/源代码/嵌入/ 144285 / Keeloq/MCDEC/MCDE14.ASMy.tmi.HMI看到了“GOTO $ + 1”出现的短时间延迟,以及几个标记“开始查找表”的标签“$”。
以上来自于百度翻译 以下为原文 Well spotted. Why is it such a pain to find an appnote on the Microchip website, when you know the name? Google managed to find the source file mentioned in that PDF file. http://read.pudn.com/downloads42/sourcecode/embed/144285/keeloq/MCDEC/MCDEC14.ASM__.htm I see several occurrences of "GOTO $+1" plainly used as a short time delay, and several of "label EQU $" to mark the start of lookup tables. |
|
|
|
|
|
是的,这是一个皮条。这是由Microchip写的。省略“等$”,结果是相同的。
以上来自于百度翻译 以下为原文 Yea, it's a PITA. WTF ... and that's written by Microchip.?! Omit the "EQU $" and the result is the same. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
503 浏览 0 评论
5812 浏览 9 评论
2350 浏览 8 评论
2237 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3544 浏览 3 评论
1159浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1121浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
888浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
503浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-13 22:35 , Processed in 0.976621 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2903