|
[原创]向WM程序添加新节的研究心得[1]对WM环境下ARM汇编的深入认识
前面关于汇编的能看懂,我也终于知道为啥PC+8了,后面的就看不懂了 |
|
[求助]ARM7TDMI SWI指令的用法
感谢"guetcw",感谢"加百力"今天晚上把你的代码理解了下,我终于知道中断是怎么操作的,所以来说下我的理解,有什么不对的地方还请朋友们指出来,谢谢 首先看一下工程设置在RO里面设置的是0x0000,可是为什么要设为0x0000呢,而不设为0x40000000,因为0x40000000是片内RAM的地址,他用于在线调试,而一般程序运行,都是从0x0000开始的,这里我有个猜测,应为LPC2210的FLash起始地址是0x80000000,而这里设置的0x0000是相对于0x80000000,即0x80000000=0x0000,0x80000001=0x0001.其次来说说LayOut里面的Object/Symbol和Section,前者设置的是工程的启动代码.o文件,即把startup.s改为startup.o,而后者表示启动代码的开始域名称。 说完工程设置来说说中断的操作,应为汇编是顺序执行的,所以把代码反汇编后在Disassembly最左边的一排指的是指令地址,由于ARM定位在0x00000008处指软中断的地址,所以在汇编程序开始的第三行必须写一个LDR PC, SWI_Addr这样的跳转指令对软件中断进行初始化,当产生中断后就可以直接跳到这里进行操作。这也就是一直困扰我的跳转指令是如何到0x00000008处的。 OVER |
|
[原创]Windows CE ARM平台汇编开发入门系列(第一篇 ARM处理器的寻址方式)
我顶,但不晓得说什么,就顶一下了 |
|
[求助]ARM7TDMI SWI指令的用法
咦,按照你的工程设置就对了,但又多了些问题,大大能否给我个你的QQ号或者MSN我想当面请教,谢谢了,我的邮箱是taowenyin@tom.com或者Wenyin.tao@tpvaoc.com这两个都可以 |
|
[求助]ARM7TDMI SWI指令的用法
回复"guetcw" 谢谢你的代码,我用你的程序运行到SWI 0x1时ADS会保存,"Process ARM7TDMI raised an exception. Cause: Undefined instruction" |
|
[求助]ARM7TDMI SWI指令的用法
我下的是盗版的ADS,安装教程上说这些帮助文件不能装,所以比较郁闷,我自己也做了好多试验,我在网上找了N久了,都是片段,我片段是懂的,但是我不知道SWI如何跳转到中断处理程序,这段详细的代码,网上都没有 |
|
[求助]ARM7TDMI SWI指令的用法
回复"加百力": 按你的方法无法运行到SWI时无法切换到系统模式,而且感觉的PC也没跑到0x08那里 回复"guetcw" 你这段我在很多文章上都看到,但不明SWI如何和SWI_Hander联系起来,能否给个完完整整的简单代码,谢谢 谢谢大家的关心 |
|
[求助]ARM7TDMI SWI指令的用法
我看了Semihosting这份文档,里面说道SWI后跟的立即数是系统确定的,比如0x123456表示的软件终端,他会跳转到0x08这个地址,我还看了其他资料上说这个地址上一般放一条跳转指令,用来跳转到终端后的程序,我修改的程序如下: MOV R1,#0x08 LDR R1,TestMode SWI 0x123456 TestMode .......... 当结果依然不对,无法跳转到TestMode这里,并且始终停留在SWI这段,大大还请指教下,谢谢了 |
|
[求助]ARM7TDMI SWI指令的用法
楼上的意思就是SWI后面的立即数是系统内自己定义好的,是固定的? |
|
[求助]C# 窗体间传值
两个方法都不错,不同场合用的不一样,谢谢大家了 |
|
[讨论]网络编程中的系统延时
OK,谢谢大大,我现在就在看这个线程的问题 |
|
[求助]自用C#写的邮件客户端发送邮件和接收邮件问题讨论
base64是在帐户验证里的,我已经验证过了,难道在Subject后面的内容都要用base64??? |
|
[求助]用DataSet更新数据库失败
在一个无意中解决了,原来当IDE生成目标文件时在其目录下还会复制一个源数据库,而我一直看的是在工程下的数据库,所以发现一直没有向数据库添加数据,有点像以前听的一个故事,有个老妇人烧了锅汤,但她觉得汤很淡,于是就加盐,但还是淡,于是又加盐,反复几次后最后发现,原来她尝的同一勺子里的汤,呵呵 |
|
[求助]在数据库中获得bool类型的字段值
谢谢各位大大的帮忙我已经知道了 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值