📄 vectors.s
字号:
@ This is the vector set up for an AT91SAM7 .text .code 32 .align 0 @ This is not actally executed in this code stream. Instead it is@ copied into the reloacted vector space.@ NB When executing the first instruction in an abort/interrupt, the pc is 8 (ie 2 instructions)@ ahead of the start of instruction being executed.@ Hence, for the first 6 vectors, the ldr loads the correct address into pc by looking at pc + 0x18.@@ For the IRQ and FIQ, we subtract 0xF20 to get to the vectors held in the AIC.@@ NB We do not do branches because these would get screwed up by relocation.@ ldr pc,v0 @ reset vector ldr pc,v1 @ Undefined Instruction ldr pc,v2 @ Software Interrupt ldr pc,v3 @ Prefetch Abort ldr pc,v4 @ Data Abort ldr pc,v5 @ reserved ldr pc,[pc,#-0xF20] @ IRQ : read the AIC ldr pc,[pc,#-0xF24] @ FIQ : read the AICv0: .long startv1: .long undef_handlerv2: .long swi_handlerv3: .long prefetch_abort_handlerv4: .long data_abort_handlerv5: .long reserved_handler
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -