No.42701 作者:kevined 邮件:kevined@163.net ID:11319 登陆:24次 QQ:13428525 文章数:46篇 最后登陆IP:218.244.227.122 最后登陆:2004/9/15 10:02:37 注册:2003/4/17 15:18:48 财富:270 发帖时间:2003/9/24 8:33:33 发贴者IP:61.179.111.144 标题:kevined:请教各位大虾,一下关于ARM的init.s的开始代码的意思?谢谢 摘要:No.42701请教各位大虾,一下关于ARM的init.s的开始代码的意思?谢谢 ; --- Setup interrupt / exception vectors IF :DEF: ROM_AT_ADDRESS_ZERO ; If the ROM is at address 0 this is just a sequence of branches B Reset_Handler B Undefined_Handler B SWI_Handler B Prefetch_Handler B Abort_Handler NOP ; Reserved vector B IRQ_Handler B FIQ_Handler ELSE ; Otherwise we copy a sequence of LDR PC instructions over the vectors ; (Note: We copy LDR PC instructions because branch instructions ; could not simply be copied, the offset in the branch instruction ; would have to be modified so that it branched into ROM. Also, a ; branch instructions might not reach if the ROM is at an address ; > 32M). MOV R8, #0 ADR R9, Ve ......