This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey Guys,
so I want to use the reset vector in my assembler-program to jump to a specific start-address after the reset. I use the following code to jump to "main", that is the start of my program (address in my case: 803E):
.section .resetvec,"ax",@progbits
.word main
The problem is, that their is no address shown at this section. I can see that in the disassembly:
0000807c <.resetvec>:
807c:
I expect the start-address 803E after the 807c:. Should'nt it be like that?
Any suggestions?
That works for me.
Disassembly of section __reset_vector: 0000fffe <__reset_vector>: fffe: 00 48 interrupt service routine at 0x4800
So is it strange that my resetvec is at 807C and should it be at FFFE? I'm just confused.
**Attention** This is a public forum