|ARM Technical Support Knowledge Articles|
Applies to: A51 Macro Assembler
Information in this article applies to:
I'm using the evaluation version of the uVision2 IDE and I'm creating an assembly program. When I create my program, I can't execute the reset vector or any interrupt vectors. I'm creating the reset vector and interrupt vectors as relocatable segments.
reset segment code rseg reset jmp main inter segment code rseg inter jmp ex0_isr junk segment code rseg junk main: nop jmp main ex0_isr: nop jmp ex0_isr end
How can I create the reset vector and interrupt vectors in the evaluation software?
You must use the CSEG directive to create the reset and interrupt vectors. Then use RSEG to create your code segments. For example:
cseg at 0 jmp main cseg at 3 jmp ex0_isr junk segment code rseg junk main: nop jmp main ex0_isr: nop jmp ex0_isr end
Article last edited on: 2006-08-21 13:28:40
Did you find this article helpful? Yes No
How can we improve this article?